-->
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.  [ 5 posts ] 
Author Message
 Post subject: Show values of executed query
PostPosted: Wed Aug 27, 2003 5:11 am 
Beginner
Beginner

Joined: Wed Aug 27, 2003 5:03 am
Posts: 34
Hi,

is it possible to see the values of a used query with Hibernate. You can see the actual queries with "hibernate.show_sql true" in your config. file, but the actual values are not displayed.

Anybody who knows an easy method for that?

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 27, 2003 5:15 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Yes, enable logging for net.sf.hibernate.type.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 27, 2003 5:34 am 
Beginner
Beginner

Joined: Wed Aug 27, 2003 5:03 am
Posts: 34
Thanks, works perfect!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 06, 2004 10:17 am 
Beginner
Beginner

Joined: Wed Aug 27, 2003 5:03 am
Posts: 34
put this in your log4j.properties file:
log4j.logger.net.sf.hibernate.type=error


Top
 Profile  
 
 Post subject: Re: Show values of executed query
PostPosted: Tue Mar 23, 2010 1:46 am 
Newbie

Joined: Wed Mar 17, 2010 7:23 am
Posts: 3
hi,

i too want to display the values of the hibernate queries,
where could i find the config file to change the "net.sf.hibernate.type" ?

thanks in advance.
Annu


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.