-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Hide Query select statement. Urgent Please help!
PostPosted: Thu Aug 04, 2005 11:04 am 
Newbie

Joined: Thu Aug 04, 2005 10:58 am
Posts: 4
Hello there,

Whenever I call "session.getNamedQuery(strQuery)", then on my dos prompt shows the conversion of sql select statement.
Would anyone please tell me how to hide it?

Thanks.


tbluong.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 04, 2005 11:32 am 
Newbie

Joined: Wed Aug 03, 2005 11:34 am
Posts: 3
Search for the property "show_sql" in your Hiberate's configuration files (the .properties and the .cfg.xml) and set it to false. That should work.

Bye!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 04, 2005 12:52 pm 
Newbie

Joined: Thu Aug 04, 2005 10:58 am
Posts: 4
Hello LuKeOnFire ,

I truely appreciate your quick answer. The problem is solved.

Thank you very much.


tbluong.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 04, 2005 2:19 pm 
Expert
Expert

Joined: Thu Dec 04, 2003 12:36 pm
Posts: 275
Location: Bielefeld, Germany
You can reward the user by rating his posting as helpful.

Best regards
Sven


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.