[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2977) Problem with one-to-many assotiations in Hibernate with enable JBoss Cache !

Eugene Batogov (JIRA) noreply at atlassian.com
Thu Nov 29 11:00:56 EST 2007


Problem with one-to-many assotiations in Hibernate with enable JBoss Cache !
----------------------------------------------------------------------------

                 Key: HHH-2977
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2977
             Project: Hibernate3
          Issue Type: Bug
    Affects Versions: 3.2.5
         Environment: Hibernate: 3.2.5
DBMS: PortgreSQL 3.2.4
JBoss Cache 1.4.1SP6
            Reporter: Eugene Batogov
            Priority: Critical
         Attachments: cacheProblem.log, Movie.java, MovieCategory.java

Hello !
I have next problem ...
I have entity MovieCategory and entity Movie.
MovieCategory  relate with Movie in many to one.

I have two MovieCategories. 

But if I remove Movie from first MovieCategory and add to second MovieCategory, 
then movie have added to second MovieCategory successful.

But from first MovieCategory this Movie don't remove !!!

This appear only if  JBoss Cache is enabled.
If second level cache is disabled, then all work properly !

I am insert part of log, where show how Hibernate work with cache .

Please, help me! This problem is critical for me !













-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list