openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Solodovnik <>
Subject MappingTool schema actions to drop database with Foreign keys
Date Tue, 19 Feb 2013 03:32:38 GMT
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 :(

Maxim aka solomax

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message