wood burning stoves*
The moose likes Object Relational Mapping and the fly likes how to stop displaying query only that is printed on eclipse's console ? 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 » Databases » Object Relational Mapping
Bookmark "how to stop displaying query only that is printed on eclipse Watch "how to stop displaying query only that is printed on eclipse New topic
Author

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

Vinod Vinu
Ranch Hand

Joined: Aug 30, 2009
Posts: 217
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


Vinod Kumar Nair
"Any fool can write code that a computer can understan. Good programmers write code that humans can understand."
Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 443
    
    1

Hi,

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

Cheers,
Raj.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to stop displaying query only that is printed on eclipse's console ?
 
Similar Threads
error: expected';'
How to display InputSream dynamically on a JSP page?
What does EOF mean?
Execution of stored procedure using for loop
Dispose Window & jar