EmbeddedXADataSource is Derby's XADataSource implementation for JDBC3.0 and JDBC2.0.
An XADataSource is a factory for XAConnection objects. It represents a
RM in a DTP environment. An object that implements the XADataSource
interface is typically registered with a JNDI service provider.
EmbeddedXADataSource automatically supports the correct JDBC specification version
for the Java Virtual Machine's environment.
- JDBC 3.0 - Java 2 - JDK 1.4, J2SE 5.0
- JDBC 2.0 - Java 2 - JDK 1.2,1.3
EmbeddedXADataSource object only works on a local database. There is no
client/server support. An EmbeddedXADataSource object must live in the same jvm as
the database.
EmbeddedXADataSource is serializable and referenceable.
See EmbeddedDataSource for DataSource properties.
|