Issue Type: Bug Bug
Affects Versions: 4.1.8
Assignee: Unassigned
Attachments: spring-hibernate-utility-1.0.0.CI-SNAPSHOT-sources.jar
Components: core
Created: 27/Jan/13 1:31 PM
Description:

The following test case:

1. Products and Categories. Products have a reference to a Category (many-to-one relation).
2. Create the categories first.
3. Create a Product and add the ID of the category just created.

The following exception is thrown:
org.hibernate.TransientObjectException: object references an unsaved transient

(see test-case ProductTest.java for more information)

Environment: Hibernate 4.1.8 + MySQL (also tested with Hibernate 3.6.0 and H2)
Project: Hibernate ORM
Labels: hibernate jpa2 core
Priority: Major Major
Reporter: Agustin Treceno
Original Estimate: 2h
Remaining Estimate: 2h
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira