openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C N Davies" <>
Subject RE: MaxDB and OpenJPA
Date Mon, 28 Jun 2010 14:49:45 GMT
Joe I am not sure exactly what your question is, is it the "SchemaAction" or
is it more generally the SynchronizeMappings  property? Anyway, I use MaxDB
with  this setting on 1.2.2 and 2.0 perfectly fine.

<property name="openjpa.jdbc.SynchronizeMappings"
value="buildSchema(ForeignKeys=true)" />

Always use build time enhancement or buy a lotto ticket instead!


-----Original Message-----
From: joe [] 
Sent: Tuesday, 29 June 2010 12:28 AM
Subject: MaxDB and OpenJPA


For unit tests i like to set the following property in the persistence.xml

	<property name="openjpa.jdbc.SynchronizeMappings" 
value="buildSchema(SchemaAction='dropDB,add')" /> </properties>

This works for Derby and Oracle but it doesn't work for MaxDB.

I looked at:

So it looks like schema generation is not supported for MaxDB.
Is it planned for JPA, especially for a 1.2.x?

View raw message