Object
DB
Object
DB
ObjectDB
About ObjectDB
Get ObjectDB
Support
Manual
Quick Tour
Entity Classes
Using JPA
JPA Queries
Tools
and Utilities
Configuration
API
JPA
Reference
JDO
Reference
Tutorials
General JPA Tutorials
Web App JPA Tutorials
Admin
Home
»
JPA Reference
»
Annotations
»
Relationships
»
OneToMany
»
OneToMany.orphanRemoval - JPA annotation element
JPA Reference
Persistence
EntityManagerFactory
EntityManager
EntityTransaction
Annotations
Class Modifiers
Field Modifiers
Relationships
ManyToMany
ManyToOne
OneToMany
OneToOne
OrderBy
MapKey
CascadeType
FetchType
Access Modes
Value Generation
Callback Methods
JPQL Queries
Java EE
Mapping (ORM)
SQL Queries
Queries
Metamodel
Miscellaneous
Exceptions
OneToMany.orphanRemoval - JPA annotation element
Annotation Element
javax.persistence.OneToMany
boolean orphanRemoval
(Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities.
Default value:
false
Since:
JPA 2.0
< OneToMany
^ OneToMany
OneToOne >