Relationship Annatations

#1

hi,

 

what is the purpose of annotating a field with a RDB relationship shuch as OneToMany. ManyToMany etc?

#2

Using these annotations is optional in ObjectDB but required by standard JPA.

You still need these annotations in ObjectDB to specify cascading / fetch policy and other settings.

ObjectDB Support

Reply