I am working on a legacy project which does not have any specific project structure like in maven or gradle. We use ant to build the project and add dependencies like we add in a simple java project. It uses old version of Hibernate. I am trying to debug a complex criteria using JSR45 remote debugging and it is showing criteria as object instead of SQL query. That project has struts and spring both integrated. How do I show SQL query of criteria in debugger?