]
Steve Ebersole closed HHH-1029.
-------------------------------
Closing stale resolved issues
Merge doesn't cascade to children with id type =
"auto".
--------------------------------------------------------
Key: HHH-1029
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1029
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.1 rc 1
Environment: Hibernate 3.1 RC1, Hibernate Annotations 3.1 B6, PostgreSQL 8
Reporter: Phil Kulak
I have a parent entity Order which conatians OrderItems. Order is mapped with XML,
OrderItems with annotations. Order's ID generation is set to IDENTITY and
OrderItems' is set to AUTO. Order's OrderItems set is mapped
cascade="ALL". When I create a new order, add new OrderItems, and save the
order, all the new sequence numbers are selected from the database for the new OrderItems,
but the OrderItems themselves are never inserted. When I change the mapping so that
OrderItem's id type == "IDENTITY", all is well again.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: