TopLink - Configure JTA Data Source in persistence.xml

Here is an example of a persistence.xml when using a data source:


  
    Attribute Data Store
    org.eclipse.persistence.jpa.PersistenceProvider
    jdbc/SampleDataSource
    
      
    
  






Please share your feedback below. Hope you find this helpful!

CaptiveCode