-->
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: log files - show contents of ?, ?, ?
PostPosted: Mon Oct 31, 2005 11:50 am 
Beginner
Beginner

Joined: Wed Sep 14, 2005 9:11 am
Posts: 22
Hi,
My hibernateSQL.log file shows something like this:
DEBUG 2005-10-31 10:46:25,234 [TP-Processor5] org.hibernate.SQL - insert into wo_property (property_value, cust_property_id, workorder_id, user_id, wo_property_id) values (?, ?, ?, ?, ?)

Is there a way for hibernate to show the values it's trying to use for each ??
Thanks,
Ben


Top
 Profile  
 
 Post subject: log4j
PostPosted: Mon Oct 31, 2005 11:59 am 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
in the log4j configuration file set:
log4j.logger.org.hibernate.type=DEBUG

http://www.hibernate.org/hib_docs/v3/re ... on-logging

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 31, 2005 12:49 pm 
Beginner
Beginner

Joined: Wed Sep 14, 2005 9:11 am
Posts: 22
cool thanks!

lazy me - I should've checked there.


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.