Just using refresh does not clean up the data in the database (getting Unique
constraints violations). Just for kicks I tried SchemaTool.DropTables=true,
it did pass the configuration phase, but it still did not cleaned the
data/schema.



Abe White wrote:
> 
>> Caused by: org.apache.openjpa.lib.util.ParseException: There was an  
>> error
>> while setting up the configuration plugin option  
>> "SynchronizeMappings". The
>> plugin was of type "org.apache.openjpa.jdbc.meta.MappingTool". Setter
>> methods for the following plugin properties were not available in  
>> that type:
>> [DropTables].
> 
> Try it without the DropTables=true.  It won't drop unused tables, but  
> it should still drop unused columns.  If that works, it should be a  
> pretty minor fix to get DropTables working.  (It might work already  
> if you change it to "SchemaTool.DropTables=true", but it won't be  
> deterministic so I'd rather leave it aside for now.) 
>   
> _______________________________________________________________________
> Notice:  This email message, together with any attachments, may contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
> entities,  that may be confidential,  proprietary,  copyrighted  and/or
> legally privileged, and is intended solely for the use of the individual
> or entity named in this message. If you are not the intended recipient,
> and have received this message in error, please immediately return this
> by email and then delete it.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Perform-automatic-drop-and-create-db-schema-tf2909915.html#a8131627
Sent from the open-jpa-dev mailing list archive at Nabble.com.

Reply via email to