JPA Container (jpa)
Configuration properties for the Java Persistence API container.
Name | Type | Default | Description |
---|---|---|---|
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. |
excludedApplication | string | An application to be excluded from JPA processing. | |
ignoreDataSourceErrors | boolean | If true, errors that occur while attempting to lookup a data source that is 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. |
defaultProperties
Default integration-level persistence properties for use by the persistence provider when a container-managed entity manager factory is created. Specified default persistence properties are included when the PersistenceProvider.createContainerEntityManagerFactory method is called. If the same default persistence property name is specified within a persistence.xml file, this configuration overrides that property value in the persistence.xml file.
defaultProperties > property
Provides a specific persistence property to all container-managed entity manager factories.
Name | Type | Default | Description |
---|---|---|---|
id | string | A unique configuration ID. | |
name | string | Provides the name of the integration-level persistence property. | |
value | string | Provides the value of the integration-level persistence property. |