void drop(
boolean dropSchemas
)
Drop database objects mapped by entities belonging to the persistence unit, undoing the effects of the plain.
If a DDL operation fails, the behavior is undefined. A provider may throw an exception, or it may ignore the problem and continue.
- Parameters:
dropSchemas
- if {@code true} , drop schemas, otherwise, leave them be
- Since:
- JPA 3.2