void flush()
 Synchronize changes held in 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