Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to stop displaying query only that is printed on eclipse's console ?

 
Vinod Vinu
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i want to know something very strange doubt here.

Due to some technical reason , i want to stop the display of query that hibernate generates on the console of eclipse.
i want to stop displaying the query only and not others on console(like errors, other processing)
is there anyway to do that ?
thank you
 
Rajkamal Pillai
Ranch Hand
Posts: 445
1
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

It relates to an entry in hibernate.cfg.xml or hibernate.properties with the name 'show_sql'.

Cheers,
Raj.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic