JPA Container (jpa)

Configuration properties for the Java Persistence API container.

NameTypeDefaultDescription

defaultJtaDataSourceJndiName

string

Default Java™ Transaction API (JTA) data source JNDI name to be used by applications running in this server. By default, data sources are JTA. Only data sources that are transactional are allowed in this field.

defaultNonJtaDataSourceJndiName

string

Default non-transactional data source JNDI name to be used by applications running in this server. Only data sources that have been marked as non-transactional are allowed in this field.

defaultPersistenceProvider

string

Default persistence provider class name. If this property is not specified, the default provider is dependent on which JPA feature is enabled.

entityManagerPoolCapacity

int

-1

EntityManager pool capacity per PersistenceContext reference. The minimum is 0 and the maximum is 500.

ignoreDataSourceErrors

boolean

If true, errors that occur while attempting to lookup a data source specified by the <jta-data-source> or <non-jta-data-source> elements in the persistence.xml file are reported and ignored, which allows the persistence provider to determine a default data source. If false, the errors are propagated to the persistence provider so that the errors can be diagnosed more easily, but misconfigured applications might not work. By default, this property is true if JPA 2.0 is enabled and false otherwise.

excludedApplication

An application to be excluded from JPA processing.