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