void flush()
Synchronize the persistence context to the underlying database.
- Throws:
- TransactionRequiredException - if there is no transaction or if the entity manager has not been joined to the current transaction
- PersistenceException - if the flush fails
- Since:
- JPA 1.0