Hi,

put this property into properties list in the persistence.xml

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

Martin



David Beer wrote:
Hi All

I have successsfully set the Schema in the persistence.xml file. My question
is how do I get the schma auto generated when the table are generated. I am
using the h2 database.

Any guidence would helpful.

Thanks

David


Reply via email to