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


jdbc.exclusive-connection.is-lazy

Use eclipselink.jdbc.exclusive-connection.is-lazy to specify if EclipseLink acquires write connections lazily.


Values

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

Table 5-44 Valid Values for jdbc.exclusive-connection.is-lazy

Value Description

true

(Default) Acquire write connections lazily.

false

Do not acquire write connections lazily.



Usage


Examples

Example 5-38 Using jdbc.exclusive-connection.is-lazy in persistence.xml

<property name="eclipselink.jdbc.exclusive-connection.is-lazy" value="false"/>

Example 5-39 Using jdbc.exclusive-connection.is-lazy in Property Map

import org.eclipse.persistence.config.PersistenceUnitProperties;
propertiesMap.put(PersistenceUnitProperties.EXCLUSIVE_CONNECTION_IS_LAZY, "false");


See Also

For more information, see: