File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Hibernate show_sql not working Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Reply Bookmark "Hibernate show_sql not working " Watch "Hibernate show_sql not working " New topic
Author

Hibernate show_sql not working

Anand Bhatt
Ranch Hand

Joined: May 30, 2007
Posts: 187
Hi,
I have integrated spring with hibernate and use the below snippet in spring-context.xml file,to use "show_sql" property of hibernate.
But I can not see any sql at my console.


Any idea,where I am missing?
Anand Bhatt
Ranch Hand

Joined: May 30, 2007
Posts: 187
Hi,
I forgot to add a prefix hibernate to "show_sql".Now ot ok
Thanks!
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Hibernate show_sql not working
 
Similar Threads
Encoding headache
javax.resource.ResourceException: enlist: caught Exception
Character encoding problem while using oracle 11g and hibernate along with Spring
spring 2 with hibernate 3
problem with hibernate table mapping.