Persistence Unit: Data Source Configuration
Configuration Options Related Tasks Related Topics
This page shows attributes related to both the transactional and non-transactional data sources of a persistence unit.
The JNDI name is not validated when you configure a persistence unit via the console. This allows you to create the data source later. Your application's persistence implementation is responsible for validating the datasource at runtime.
Note: The content of this page changes depending on if you are implementing BEA Kodo or a 3rd party persistence provider.
Configuration Options
Name Description Use External Jta Data Source Use External Non-Jta Data Source Jta Data Source JNDI Name The JNDI name of the DataSource enlisted in the current JTA transaction.
MBean Attribute (Does not apply to application modules):
PersistenceUnitBean.JtaDataSource
Changes take effect after you redeploy the module or restart the server.
Non-Jta Data Source JNDI Name The JNDI name for an unmanaged DataSource.
MBean Attribute (Does not apply to application modules):
PersistenceUnitBean.NonJtaDataSource
Changes take effect after you redeploy the module or restart the server.