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
»
ManyToOne
»
ManyToOne.optional - 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
ManyToOne.optional - JPA annotation element
Annotation Element
javax.persistence.ManyToOne
boolean optional
(Optional) Whether the association is optional. If set to false then a non-null relationship must always exist.
Default value:
true
Since:
JPA 1.0
< ManyToOne
^ ManyToOne
OneToMany >