Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.5
  Go To Table Of Contents
 Search
 PDFComments
Comments


transaction.join-existing

Use eclipselink.transaction.join-existing to


Values

Table 5-91 describes this persistence property's values.

Table 5-91 Valid Values for target-server

Value Description

true

Forces persistence context to read through JTA-managed ("write") connection in case there is an active transaction

false

(Default)



Usage

The property set in persistence.xml or passed to createEntityManagerFactory affects all EntityManagers created by the factory. If the property set to true, objects read during transaction will not be placed into the shared cache unless they have been updated. Alternatively, to apply the property only to some EntityManagers pass it to createEntityManager method.


Examples


See Also

For more information, see: