P6Spy is a open source framework to intercept and debug JDBC interaction with a database and optionally modify database statements. It's a wrapper of all JDBC elements ( Connection, PreparedStatement, ResultSet... ) and it has a powerful feature in order to log all informations about those interactions. P6Spy includes P6Log, an application that 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.
You can also use it together with spring and hibernate for performance tuning as well.
Reference List:
P6Spy
P6Spy Official Home
Integrate P6Spy with Spring
Improving Hibernate's Performance
P6Spy released: automatic logging of your database/EJB queries
Highscalability is Up For Sale
11 months ago
1 comment:
Nice post and this post helped me alot in my college assignement. Thanks you as your information.
Post a Comment