How to find slow SQL queries with Hibernate or JPA

Data persistence is one of the key factors when it comes to application performance. Therefore, it’s essential to keep track of the performance of your Database statements. First of all, it’s important to stress out that you can log statements emitted by Hibernate through one of the following methods: 1. Adding hibernate.show_sql property to your … Read more

Categories jpa