-->
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.  [ 1 post ] 
Author Message
 Post subject: Advanced query logging: Factory for PreparedStatement
PostPosted: Mon Oct 02, 2006 8:15 am 
Newbie

Joined: Mon Oct 02, 2006 7:35 am
Posts: 2
Location: Ridderkerk
Hello,

In our previous Database access framework which we used before using hibernate, we were able to log complete queries with a custom PreparedStatement implementation, such as described here.

I know this page, especially option does org.hibernate.type does something similair, but the Loggablestatement solution is still more elegant I think.

I have done some research (in Hibernate 3.0.5), if it is possible to integrate the LoggableStatement in hibernate. I think it is possible, by making a custom implementation of both default Batchers (e.g. NonBatchingBatcher and BatchingBatcher class). Is this really the only way, or are there more simple ways to get this done?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.