-->
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: null index column for collection
PostPosted: Tue May 04, 2004 11:12 am 
Beginner
Beginner

Joined: Mon Nov 24, 2003 11:47 am
Posts: 22
Strange problem. After exception during commit (conflict with another thread) I get this exception. Scenario:

1. ThreadLocal pattern is used
2. Thread1 load myObject
3. Thread2 load myObject
4. Thread1 change some property of myObject
5. Thread2 add some object into some collection of myObject
6. Thread1: session.flush() and commit()
7. Thread2 session.flush() and commit - correct Exception is thrown !

8. Thread3 (!) load myObject - Exception null index column for collection is thrown

I must restart server (oc4j). Database is OK and after restart of server, application is OK.


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.