-->
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: Logging SQL parameters from a user type
PostPosted: Tue Nov 22, 2011 4:36 am 
Newbie

Joined: Thu Aug 25, 2011 4:52 am
Posts: 5
Hi,

I implemented a user type and noticed the SQL parameters of this type are not logged when SQL parameter logging is enabled (<logger name="org.hibernate.type"><level value="TRACE"/>...).

How can I log the parameters from my user type so that their logging conforms to the format and log4j configuration of the built-in types? Is there a global logging class or method in hibernate I can call? I didn't find a logging method in the user type interface org.hibernate.usertype.UserType!

Thomas


Top
 Profile  
 
 Post subject: Re: Logging SQL parameters from a user type
PostPosted: Thu Nov 12, 2015 5:57 am 
Newbie

Joined: Fri Mar 02, 2007 6:31 am
Posts: 19
I know this is an old post but we now have the same issue.

Did you eventually find a solution?


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.