Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Difference between DataSource and XADataSource

meatwadMar 21 2012 — edited Nov 20 2014
What are the differences between these 2 classes and why would one be used instead of the other?

I have a problem in Glassfish I'm trying to diagnose. I have a DataSource defined that is being treated as an XADataSource and it's throwing exceptions.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 19 2012
Added on Mar 21 2012
6 comments
635 views