-->
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: Strange behaviour with suspend & rollback
PostPosted: Wed Feb 08, 2006 9:14 pm 
Newbie

Joined: Tue Jan 10, 2006 11:59 am
Posts: 17
http://opensource2.atlassian.com/projec ... se/EJB-122

Hibernate version: 3.1.2+ PATCH HHH-1359

It seems I found the reason why transactions commit & rollback are not handled at all. In the patch for HHH-1359 there is a code for obtaining and closing connections:

Code:
            Connection connection = session.connection();
            try {
                    ...
            } finally {
                connection.close();
            }


But it seems that connection.close() didn't return the connection to connection pool, even if aggressive release on. How to check this? Or how to rewrite this part of code to support aggressive release?

_________________
--
Sergey Vladimirov


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.