-->
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: query parameters logging in hibernate 5.0.5
PostPosted: Fri Mar 04, 2016 1:03 pm 
Newbie

Joined: Mon Oct 11, 2010 3:48 pm
Posts: 1
Hi,
I am trying to log the parameters in hibernate queries for development purpose. Please let me know if anyone has has done this.

Thanks in advance.


Top
 Profile  
 
 Post subject: Re: query parameters logging in hibernate 5.0.5
PostPosted: Fri Mar 04, 2016 3:50 pm 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1638
Location: Romania
You need to set this Logger Level to TRACE:

Code:
org.hibernate.type.descriptor.sql=trace

_________________
If you liked my answer, you are going to love my High-Performance Java Persistence book and my blog as well.


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.