Support orphan-removal for one-to-one inside component/@Embeddable

Description

AFAICT this only makes sense for fk-based logical 1-1. See for more details

Environment

None

Activity

Show:
Christian Beikov
March 12, 2021, 7:22 AM

I accidently merged the fix for this as part of https://github.com/hibernate/hibernate-orm/pull/3817 but with the issue key

In case someone looks for the commits for this.

Burkhard Graves
January 21, 2016, 12:20 PM

Hi, is this task still alive? I just ran exactly into this problem (one-to-one orphan-removal not working in @Embeddable entitities)...

Scott Stanton
June 27, 2012, 3:02 AM

I've attached a patch that provides a hack for a single-level component orphan delete.

Gail Badner
July 12, 2010, 10:10 PM

This issue is currently scheduled for 3.5.x, but not 3.6. Should this issue be fixed in 3.6 as well (or instead)? If so, please correct the fix version(s).

Thanks,
Gail

Steve Ebersole
May 13, 2010, 3:05 AM

Depends on as one possible solution

Fixed

Assignee

Christian Beikov

Reporter

Steve Ebersole

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major