Relationship Annatations




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


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