Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 565265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:51:13+00:00 2026-05-13T12:51:13+00:00

I am in the process of setting up a central build server. The server

  • 0

I am in the process of setting up a central build server. The server is responsible to produce the official build artifacts that will be deployed to all environment. For one of the applications there is an build step that writes to a database. At deploy time we would need to run this build step to the appropriate environment. Since it is difficult/expensive to reliably reproduce this build step later the idea was born to capture the sql run just the sql script later at deployment time.

I have no control over the source code that generates the sql. It is an java program that uses hibernate. I haven’t found out yet, where to put the log4j.properties/log4j.xml to use the hibernate trace functionality. And there might be a problem with prepared statements showing ‘?’ instead of the actual value.

Does anyone have experience with Activity Monitor of DB2 and how to use it? Or is there other (easier) options like replacing the db2 driver in the hibernate configuration? I still want to use the DB2Dialect driver, though.

EDIT: I don’t have control over the database structure. The database structure might be updated or the process might write to different tables in the future. This should not impact the solution I am setting up now.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:51:13+00:00Added an answer on May 13, 2026 at 12:51 pm

    Have a look at p6spy:

    P6Spy is an open source framework to
    support applications that intercept
    and optionally modify database
    statements. The P6Spy distribution
    includes the following modules:

    P6Log. P6Log intercepts and logs the
    database statements of any application
    that uses JDBC. This application is
    particularly useful for developers to
    monitor the SQL statements produced by
    EJB servers, enabling the developer to
    write code that achieves maximum
    efficiency on the server. P6Spy is
    designed to be installed in minutes
    and requires no code changes.

    http://www.p6spy.com/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're currently in the process of setting up a source control/build/and more-server for .NET
I'm currently in the process of setting up a continuous integration environment at work.
I'm setting up my team's source control + build/integration process from scratch. We were
I am currently working on a project about setting process to one core in
I am in the process of setting up a Git server (1.7.2.3) on a
I am in the process of setting up a continuous integration build for a
We're in the process of setting up a new framework and way of doing
I'm in the process of setting up a new website which would greatly benefit
I am in the process of setting up CruiseControl.NET. The problem I am having
I'm in the process of setting up a php project, but am not very

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.