Hi Rick, these are the properties for the unit test PU:
<properties> <property name="openjpa.Log" value="DefaultLevel=INFO, SQL=WARN, JDBC=WARN, Query=TRACE, Schema=ERROR, Runtime=WARN" /> <property name="openjpa.ConnectionFactoryProperties" value="PrintParameters=true, PrettyPrint=true" /> <property name="openjpa.LockManager" value="version" /> <property name="openjpa.jdbc.TransactionIsolation" value="read-committed" /> <property name="openjpa.DetachState" value="fetch-groups(DetachedStateField=true)" /> </properties> And these properties are for production environment: <properties> <property name="openjpa.ConnectionFactoryProperties" value="PrintParameters=true" /> <property name="openjpa.LockManager" value="version" /> <property name="openjpa.jdbc.TransactionIsolation" value="read-committed" /> <property name="openjpa.DetachState" value="fetch-groups(DetachedStateField=true)" /> </properties> -- View this message in context: http://openjpa.208410.n2.nabble.com/Constraint-violation-using-OneToOne-relationship-tp6978223p6978287.html Sent from the OpenJPA Users mailing list archive at Nabble.com.