I developed app using JPA Toplink
which uses JPQL. According to my research JPA will call more SQL than what JPQL statement look like.
I'm looking for some JPQL analyzer tools like I can execute JPQL or run my application and tells me how many actual SQL being run.
Is there anything like that available?
UPDATE Added the following in my persistence.xml as suggested and my Netbean IDE now shows actual SQL generated by JPQL :D
<properties>
<property name="eclipselink.logging.logger" value="JavaLogger"/>
<property name="toplink.logging.level.sql" value="FINE"/>