void truncate()
Truncate the database tables mapped by entities belonging to the persistence unit, and then re-import initial data from any configured SQL scripts for data loading.
If a SQL operation fails, the behavior is undefined. A provider may throw an exception, or it may ignore the problem and continue.
- Since:
- JPA 3.2