orphan « Association « JPA Q&A





1. Typed Associations and delete-orphan?    forum.hibernate.org

Hibernate version: 3.0.3 I am using the Typed-associations feature in Hibernate... as outlined in Gavin's slides For example: Typed association Code: id ...

2. single-valued associations do not support orphan delete    forum.hibernate.org

Hi, I've just upgraded to 3.1.3 from 3.0.5 and my previous working mapping throws this exception. A search in this forum lead me to topic [url=http://forum.hibernate.org/viewtopic.php?t=945266]945266[/url], that makes clear the point that one-to-one associations don't have orphan-delete. I have to say that I've read several times the 3.0.5 docs and also HIA book, but I missed the "delete-orphan,applies only to one-to-many ...

3. delete orphan and bi-directional one-to-many association    forum.hibernate.org

Author Message radhakrishnanj Post subject: delete orphan and bi-directional one-to-many association Posted: Mon Mar 19, 2007 6:20 am Newbie Joined: Sat Aug 12, 2006 1:20 am Posts: 7 I have one-to-many set based bi-directional association. See relavant code below. The cascade setting is all, delete-orphan. Now if a child is removed from collection of one entity but added to ...