Is there any way to show the SQL generated by JPA / Hibernate without being enabled by the <property name="hibernate.show_sql" value="true"/>
property?
The difficulty is that I need to monitor only one query, and if I turn on show_sql
all queries will be logged on the console.