-->
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.  [ 4 posts ] 
Author Message
 Post subject: How to Log Hibernate queries in log file.
PostPosted: Tue Apr 16, 2013 6:05 am 
Newbie

Joined: Tue Apr 16, 2013 5:58 am
Posts: 2
Hi,

I need to log the HQL(including crieteria, Namedqueries) and SQL with the parameters in LOG file...

Please confirm what configuration needs to be added to get this done..

Thanks in adavance..


Top
 Profile  
 
 Post subject: Re: How to Log Hibernate queries in log file.
PostPosted: Tue Apr 16, 2013 8:49 am 
Newbie

Joined: Tue Apr 16, 2013 5:58 am
Posts: 2
Please anyone respond to this question.


Top
 Profile  
 
 Post subject: Re: How to Log Hibernate queries in log file.
PostPosted: Tue Apr 16, 2013 1:23 pm 
Regular
Regular

Joined: Wed Apr 10, 2013 1:02 am
Posts: 50
I think you need jdbc logger for that

_________________
Regards
Akash Miital
http://akash.thegrassroots.co.in/hibernate/


Top
 Profile  
 
 Post subject: Re: How to Log Hibernate queries in log file.
PostPosted: Wed Apr 17, 2013 2:14 am 
Regular
Regular

Joined: Wed Apr 10, 2013 1:02 am
Posts: 50
p6py or log4jdbc

_________________
Regards
Akash Miital
http://akash.thegrassroots.co.in/hibernate/


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