clear() - JPA EntityManager's method
Method javax.persistence.EntityManager
void clear()
Clear the persistence context, causing all managed entities to become detached. Changes made to entities that have not been flushed to the database will not be persisted.
- Since:
- JPA 1.0