-->
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: Making hibernate display used parameters
PostPosted: Thu Sep 15, 2005 9:43 pm 
Newbie

Joined: Thu Mar 24, 2005 12:08 pm
Posts: 7
Hello everyBody.
Does anyone know if it is possible to make hibernate display the parametersof an insert/update. The only thing that prints looks like a prepared statement. I would like to see the actual values being inserted if possible.


This is what I get:
Hibernate: insert into HST (YER_NO, PNT_NO, GRP_DSC_TX, CUS_NO, CUS_TYP_CD,
CST_DPT_ID, USR_ID, HST_DT, MSG_ID, HST_ID) values (?, ?, ?, ?, ?, ?, ?, ?,
?, default)

I would like to see the current value of each '?'.
Thx for the support


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 15, 2005 9:53 pm 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
http://www.hibernate.org/hib_docs/v3/re ... on-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.