This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate show_sql not working

 
Anand Bhatt
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I forgot to add a prefix hibernate to "show_sql".Now ot ok
Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic