]
Steve Ebersole closed HHH-5221.
-------------------------------
Resolution: Duplicate
Wow almost word for word HHH-4815
Support orphanRemoval on @OneToOne in @Embedded
-----------------------------------------------
Key: HHH-5221
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5221
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.5.0-Final, 3.5.1
Reporter: Anders Wallgren
Comment from {{Cascade.cascadeProperty}}:
{code}
// association defined on component
// todo : this is currently unsupported because of the fact that
// we do not know the loaded state of this value properly
// and doing so would be very difficult given how components and
// entities are loaded (and how 'loaded state' is put into the
// EntityEntry). Solutions here are to either:
// 1) properly account for components as a 2-phase load construct
// 2) just assume the association was just now orphaned and
// issue the orphan delete. This would require a special
// set of SQL statements though since we do not know the
// orphaned value, something a delete with a subquery to
// match the owner.
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: