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?
|