Allow Sessiojn.remove() on transient object
-------------------------------------------
Key: HHH-1779
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1779
Project: Hibernate3
Type: Improvement
Components: core
Reporter: Steve Ebersole
Assigned to: Steve Ebersole
Fix For: 3.2.0
See EJB-183
Essentially, the JPA spec requires that EntityManager.remove() be allowed on a transient object. It further says that the remove operation is required to be cascaded:
If X is a new entity, it is ignored by the remove operation. However, the remove operation is
cascaded to entities referenced by X, if the relationships from X to these other entities is annotated
with the cascade=REMOVE or cascade=ALL annotation element value.
--
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.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|