openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey" <plins...@gmail.com>
Subject Re: Drop and recreate tables or clear tables?
Date Sat, 11 Aug 2007 01:02:35 GMT
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 <dain@iq80.com> 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

Mime
View raw message