ObjectDB ObjectDB

getNonJtaDataSource() - JPA PersistenceUnitInfo's method

Method
javax.persistence.spi.PersistenceUnitInfo
DataSource getNonJtaDataSource()

Returns the non-JTA-enabled data source to be used by the persistence provider for accessing data outside a JTA transaction. The data source corresponds to the named non-jta-data-source element in the persistence.xml file or provided at deployment or by the container.
Returns:
the non-JTA-enabled data source to be used by the persistence provider for accessing data outside a JTA transaction
Since:
JPA 1.0