[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2350) 2nd level cache broken for inverse bidirectional one-to-many relation

Burkhard Graves (JIRA) noreply at atlassian.com
Tue Jan 9 12:08:44 EST 2007


2nd level cache broken for inverse bidirectional one-to-many relation
---------------------------------------------------------------------

         Key: HHH-2350
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2350
     Project: Hibernate3
        Type: Bug

  Components: core  
    Versions: 3.2.1    
 Environment: Database: MySQL, HSQL, ... (seems not to be important)
    Reporter: Burkhard Graves
 Attachments: testcase.tgz

When using "inverse" one-to-many relations as described in  "2.4.6.2.3. Bidirectional association with indexed collections" (http://www.hibernate.org/hib_docs/annotations/reference/en/html/entity.html#entity-hibspec-collection-extratype) hibernate is wrong when activating 2nd level cache.

See the attached example (unzip in /usr/local/hibernate-annotations-3.2.1.GA, testname=org.hibernate.test.annotations.invonetomany.InverseOneToManyTest).

More details can be found here: http://forum.hibernate.org/viewtopic.php?t=969456 (and also in InverseOneToManyTest.java).



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