Relative Content

Tag Archive for javahibernatedebuggingintellij-ideahibernate-criteria

How to show sql query of Hibernate 3 criteria in IntelliJ debugger

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? All other developers in company use eclipse and I am the only one using IntelliJ 2024 because I find it easy to use. In eclipse it shows sql for criteria as prepared statement but for some odd reason I am unable to configure eclipse in my system (Its crashing).

How to show sql query of Hibernate 3 criteria in Intelli J debugger

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?