I look at my application once again, and I saw that OpenJPA really doesn't
create tables in my database !
In my persistence.xml file I have following entry :
...
<property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema"/>
...
Do You know how can I configure OpenJPA to recreate tables ?

Sure. It works with OpenJPA 0.9.7-SNAPSHOT and 0.9.8-SNAPSHOT:

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

It won't work with 0.9.6-incubating.

Jacek

--
Jacek Laskowski
http://www.JacekLaskowski.pl

Reply via email to