Hello,
We are currently evaluating OpenJPA. We have a lot of OneToMany and
ManyToOne relations.
relevant part of persistence.xml:
<property name="openjpa.Log" value="DefaultLevel=WARN, Runtime=INFO,
Tool=INFO"/>
<property name="openjpa.jdbc.DBDictionary" value="oracle(batchLimit=-1)"/>
<property name="openjpa.jdbc.SynchronizeMappings"
value="buildSchema(ForeignKeys=true)"/>
When creating the tables on startup, no foreign keys are created.
Using the SchemaBuilder also does not work.
org.apache.openjpa.jdbc.meta.MappingTool -action buildSchema -foreignKeys
true -sql d:/temp/create.sql
creates a script without any foreign keys. Database used is Oracle 10g. Can
anyone help with that issue?
Thanks!
Georg
--
Sent from the OpenJPA Users mailing list archive at Nabble.com.