-->
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.  [ 3 posts ] 
Author Message
 Post subject: getting query parameter value
PostPosted: Tue Jul 20, 2004 6:06 am 
Newbie

Joined: Tue Jul 20, 2004 5:59 am
Posts: 1
Hello,

this is the hibernate query, i get on console.

select testorder0_.order_no as order_no0_, from test_Order testorder0_ where testorder0_.order_no=? and testorder0_.dealer_no=?

how can see the parameter values, which would replace the above '?' by hibernate.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 20, 2004 6:17 am 
Regular
Regular

Joined: Tue Oct 28, 2003 8:25 am
Posts: 72
Location: Belgium
You can see it in the logs. Have a look at the log4j doc to see how to enable them.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 20, 2004 10:29 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
Set the logger for net.sf.hibernate.type to debug. At debug level, the types log their jdbc binding activities.


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