JPA - Database Synchronization

> JPA - Java Persistence API (JPA)

Table of Contents

1 - About

The Database synchronization involves writing to the database any updates to persistent entities and their relationships.

The state of persistent entities is (synchronized to|entered into) the database:

The persistence provider runtime is permitted to perform synchronization to the database when a transaction is active.

The EntityManager and Query setFlushMode methods can be used to control synchronization semantics.

jpa/synchronization.txt · Last modified: 2014/01/24 12:17 by gerardnico