JPA Method
in jakarta.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.
Return:
the JTA-enabled data source to be used by the persistence provider
Since:
JPA 1.0