File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to stop displaying query only that is printed on eclipse's console ?