[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2350?page=c...
]
Gail Badner updated HHH-2350:
-----------------------------
Description:
When using "non-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.ht...)
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).
was:
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.ht...)
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).
Component/s: (was: core)
caching (L2)
This problem really involves a non-inverse association. I've corrected this in the
title and description.
2nd level cache broken for non-inverse bidirectional one-to-many
relation
-------------------------------------------------------------------------
Key: HHH-2350
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2350
Project: Hibernate Core
Issue Type: Bug
Components: caching (L2)
Affects Versions: 3.2.1, 3.5.0-CR-2
Environment: Database: MySQL, HSQL, ... (seems not to be important)
Reporter: Burkhard Graves
Attachments: testcase-xml-mapping.tgz, testcase.tgz
When using "non-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.ht...)
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira