-->
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: Bidirection OneToMany stopped working
PostPosted: Sun Apr 06, 2008 11:14 am 
Newbie

Joined: Tue Jun 13, 2006 3:24 pm
Posts: 5
Got a strange situation here. At some point after we turned on the second level cache and query cache for our project, all the bidirectional one-to-many associations stopped working in the application. The ids are still there in the DB but the caollection on the one-to-many side for about 6 different collections in 4 classes has stopped being retrieved from the DB by hibernate.

When we now turn off caching, it seems to make no difference which makes us wonder if the caching caused this or not, however there were no other changes to the app or the mapping around the time this started to happen.

Has anyone else ever seen something like this or have an idea what could cause bidirectional One-to-many/Many-to-one associations to break if they had been working?


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.