-->
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.  [ 2 posts ] 
Author Message
 Post subject: show_sql : How to see the actual values in insert statement?
PostPosted: Sat Apr 29, 2006 7:51 am 
Newbie

Joined: Tue Mar 07, 2006 5:51 am
Posts: 11
Location: India
Hello:

I am using Hibernate 3.1 with MySql 4.0.13. I have given show_sql=true in my hibernate.cfg.xml file but I am not able to view the values for the insert statements. (i.e i am only seeing the question marks (?) after the values clause in the insert statements ). Is there a way to tell Hibernate to log insert statement with actual values that will be executed against the db instead of logging the prepared stmt query ?

thanks and regards,

-- Kannan.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 29, 2006 9:13 am 
Regular
Regular

Joined: Wed Jul 27, 2005 2:33 am
Posts: 118
Have a look at:

http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#configuration-logging


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