]
Gail Badner updated HHH-2350:
-----------------------------
Fix Version/s: (was: 3.5.4)
3.5.x
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
Fix For: 3.5.x, 3.6
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: