Java Persistence/Persisting - Wikibooks, open books for an open world - 0 views
-
Persist
- ...6 more annotations...
-
When the transaction is committed, or if the persistence context is flushed, then the object will be inserted into the database
-
When the transaction is committed, or if the persistence context is flushed, then the object will be updated in the database.