Turn on "Show SQL" for API Requests

I am now successfully running dhis-web-embedded-jetty.jar and can make requests against the API using Postman. I would like to turn on show_sql so that I can see what SQL is being generated. I tried adding
connection.show_sql = true and hibernate.show_sql = true to dhis.conf. I also tried updating hibernate-default.properties in the DHIS Hibernate Support project. But, none of those produced the desired result of showing the generated SQL.

Is there a way to show the genarated SQL?

Thanks,

Dan.

UPDATE:

Never mind. Once I ran the application in debug mode in Netbeans, the sql is showing…

1 Like

Glad you found the solution! (: