-->
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: How to get the sql generated for a hql query?
PostPosted: Tue May 11, 2004 11:12 am 
Newbie

Joined: Thu Sep 04, 2003 12:34 pm
Posts: 9
Hi,

I have seen that asked like a long time ago, but the guy wasn't given a programatic solution...

This time we need to get the sql generated for the queries as we must log them on a db...so the show_sql seems useless for that. Is there any way to do it via an api? I guess lots of people would like that,

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 11, 2004 11:28 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
No, this is not possible. I suggest you use something like p6spy or another driver wrapper.


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.