-->
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: Only partial binding parameters displayed?
PostPosted: Thu Oct 06, 2011 10:53 am 
Regular
Regular

Joined: Sun Feb 14, 2010 3:29 pm
Posts: 58
Location: USA
Hi There,

I have enabled log4j to show Hibernate 3.6.6 binding parameters with the following:
Code:
log4j.logger.org.hibernate.SQL = DEBUG
log4j.logger.org.hibernate.type = TRACE


I do see all of my binding parameters for all SELECT queries. However for UPDATE statements, I do not see full binding parameters! It seems to skip those that are mapped as ids fields (in my case I have composite keys). Is this expected? How can I show the full binding parameters values for UPDATE statements?

Thanks,
-Zemian Deng

_________________
Zemian Deng
------------
Need a Java Scheduler? Try
http://bitbucket.org/timemachine/scheduler


Top
 Profile  
 
 Post subject: Re: Only partial binding parameters displayed?
PostPosted: Tue Oct 18, 2011 10:27 am 
Regular
Regular

Joined: Sun Feb 14, 2010 3:29 pm
Posts: 58
Location: USA
Has anyone experienced this?

_________________
Zemian Deng
------------
Need a Java Scheduler? Try
http://bitbucket.org/timemachine/scheduler


Top
 Profile  
 
 Post subject: Re: Only partial binding parameters displayed?
PostPosted: Tue Oct 18, 2011 11:36 am 
Regular
Regular

Joined: Sun Feb 14, 2010 3:29 pm
Posts: 58
Location: USA
Hum... never mind. When I test with a standalone entity, the binding parameter values shows up. So it must be something not right with my existing app config.

Please discard this post.

_________________
Zemian Deng
------------
Need a Java Scheduler? Try
http://bitbucket.org/timemachine/scheduler


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.