-->
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: Open DB cursors when tx rolled back
PostPosted: Wed Nov 30, 2005 9:59 am 
Newbie

Joined: Mon Nov 28, 2005 12:08 pm
Posts: 3
We are trying to perform an update, which fails due to a FK violation and is rolled back. All looks great from the Java side, but in the DB it leaves open a cursor.

When the update is successful, there is no cursor left open. We've gone through the steps of making sure all statement caching is disabled, but cannot figure this one out. The rollback statements are being issued as we step through the code.

This is all with HB 3.0.5, used with Spring 1.2.3 and WebLogic 9.0 CMT.


Any suggestions?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 30, 2005 7:02 pm 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
i think that it isn't hibernate problem (maybe database, spring or weblogic)

for test hibernate try same thing in standalone hibernate

what is your database ?

when we close transaction and session (or connection for jdbc or other client) then database have to release all client resources - it is possible that client crash random and database have to resolve this case


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.