[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5732?page=c...
]
Gail Badner reopened HHH-5732:
------------------------------
Assignee: (was: Gail Badner)
Reopening because JPA 2.0 states the following for:
@OneToMany (mappedBy="..."):
"The field or property that owns the relation-
ship. Required unless the relationship is uni-
directional."
@OrderColumn not updated when inserting
---------------------------------------
Key: HHH-5732
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5732
Project: Hibernate Core
Issue Type: Bug
Components: entity-manager
Affects Versions: 3.6.0
Reporter: Jaroslaw Lewandowski
Attachments: Screen shot 2011-01-10 at 21.41.27.png, TestOrderColumn.zip
As I'm not able to reopen HHH-5378 I'm creating a new one. There is nothing said
in JPA2.0 documentation that with @OrderColumn are any limitations regarding of usage
mappedBy attribute on @OneToMany annotation. As I mentioned in the comments of that issue
- even Hibernate documentation
http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html/collections...
uses example which fails when executed with 3.6.0.Final version.
Test case attached.
--
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