Thanks. That is exactly what I needed. Is there a dropTables schema option?

For anyone reading the archives, this is the value I'm using:

  buildSchema(SchemaAction='add,deleteTableContents',ForeignKeys=true)

-dain

On Aug 10, 2007, at 6:02 PM, Patrick Linskey wrote:

To add any schema elements that don't exist and then delete all rows
from all mapped tables, do:

openjpa.jdbc.SynchronizeMappings:
buildSchema(SchemaAction='add,deleteTableContents')

-Patrick

On 8/10/07, Dain Sundstrom <[EMAIL PROTECTED]> wrote:
Reading the archives it sounds like drop and recreate table support
was added along with support for clear tables.  Unfortunately, I
can't find any definitive docs on how I turn this on.  Can anyone
tell me the exact property settings to turn either of these two
features on?

Thanks,

-dain



--
Patrick Linskey
202 669 5907

Reply via email to