I am copying data from a postgres database to objectDB.
Some of the rows in the postgres table were created by postgres DDL / SQL insert statements and so do not abide by all JPA rules and recommendations, in particular there are some primary keys with value == 0. These cause problems for objectDB, typically "JPA Unexpected argument as primary key".
When using eclipselink, there is a workaround that can be added to persistence.xml like this:
<!-- next line is needed because some tables have a zero value in primary key column -->
<property name="eclipselink.id-validation" value="NULL"/>
Is there a similar workaround for objectDB ?