Hello All, Could you please suggest "OpenJPA way" to drop old DB and to create new one according current schema?
MappingTool with -schemaAction "retain,drop" is not working since foreign keys were added Thanks in advance! On Tue, Feb 19, 2013 at 10:32 AM, Maxim Solodovnik <solomax...@gmail.com>wrote: > Hello All, > > I was using MappingTool with -schemaAction "retain,drop" to drop database > before recreation. (To ensure there are no tables/columns from old schema > in the DB) > > Later we have added @ForeignKey annotation to our project and the method > stops working (Throws lots of exceptions while working) > > Is there any way to drop DB managed by OpenJPA which probably contains > "extra" tables/columns. > > I'm using OpenJPA 2.2.1 > > Thanks in advance > > PS send to dev since there was no answer on the user list :( > > -- > WBR > Maxim aka solomax > -- WBR Maxim aka solomax