ObjectDB ObjectDB

getJtaDataSource() - JPA PersistenceUnitInfo's method

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

Returns the JTA-enabled data source to be used by the persistence provider. The data source corresponds to the jta-data-source element in the persistence.xml file or is provided at deployment or by the container.
Returns:
the JTA-enabled data source to be used by the persistence provider
Since:
JPA 1.0