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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
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: 189
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: 189
Hi,
I forgot to add a prefix hibernate to "show_sql".Now ot ok
Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate show_sql not working
 
Similar Threads
spring 2 with hibernate 3
javax.resource.ResourceException: enlist: caught Exception
Encoding headache
Character encoding problem while using oracle 11g and hibernate along with Spring
problem with hibernate table mapping.