org.apache.derby.jdbc
Class EmbeddedXADataSource40
java.lang.Object
org.apache.derby.jdbc.EmbeddedBaseDataSource
org.apache.derby.jdbc.ReferenceableDataSource
org.apache.derby.jdbc.EmbeddedDataSource
org.apache.derby.jdbc.EmbeddedXADataSource
org.apache.derby.jdbc.EmbeddedXADataSource40
- All Implemented Interfaces:
- java.io.Serializable, java.sql.Wrapper, javax.naming.Referenceable, javax.naming.spi.ObjectFactory, javax.sql.CommonDataSource, javax.sql.DataSource, javax.sql.XADataSource, EmbeddedDataSourceInterface, EmbeddedXADataSourceInterface
public class EmbeddedXADataSource40
- extends EmbeddedXADataSource
- implements javax.sql.XADataSource
This datasource is suitable for an application using embedded Derby,
running on the following platforms:
- Java SE 7 (JDBC 4.1) and
- full Java SE 8 (JDBC 4.2).
Use BasicEmbeddedXADataSource40 if your application runs on Java 8
Compact Profile 2.
Use EmbeddedXADataSource if your application runs on the following
platforms:
- JDBC 3.0 - J2SE 5.0
- JDBC 4.0 - Java SE 6
EmbeddedXADataSource40 is an XADataSource implementation.
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.
EmbeddedXADataSource40 object only works on a local database.
There is no client/server support. An EmbeddedXADataSource40
object must live in the same jvm as the database.
EmbeddedXADataSource40 is serializable and referenceable.
See EmbeddedDataSource40 for DataSource properties.
- See Also:
- Serialized Form
| Methods inherited from class org.apache.derby.jdbc.EmbeddedBaseDataSource |
equals, findDriver, getAttributesAsPassword, getConnection, getConnection, getConnection, getConnectionAttributes, getCreateDatabase, getDatabaseName, getDataSourceName, getDescription, getLoginTimeout, getLogWriter, getPassword, getShortDatabaseName, getShutdownDatabase, getUser, isWrapperFor, setAttributesAsPassword, setConnectionAttributes, setCreateDatabase, setDatabaseName, setDataSourceName, setDescription, setLoginTimeout, setLogWriter, setPassword, setShutdownDatabase, setupResourceAdapter, setUser, unwrap |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.sql.XADataSource |
getXAConnection, getXAConnection |
| Methods inherited from interface javax.sql.CommonDataSource |
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
| Methods inherited from interface org.apache.derby.jdbc.EmbeddedDataSourceInterface |
getAttributesAsPassword, getConnectionAttributes, getCreateDatabase, getDatabaseName, getDataSourceName, getDescription, getPassword, getShutdownDatabase, getUser, setAttributesAsPassword, setConnectionAttributes, setCreateDatabase, setDatabaseName, setDataSourceName, setDescription, setPassword, setShutdownDatabase, setUser |
| Methods inherited from interface javax.sql.DataSource |
getConnection, getConnection |
| Methods inherited from interface java.sql.Wrapper |
isWrapperFor, unwrap |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
EmbeddedXADataSource40
public EmbeddedXADataSource40()
- Creates a new instance of EmbeddedXADataSource40
getParentLogger
public java.util.logging.Logger getParentLogger()
throws java.sql.SQLFeatureNotSupportedException
- Throws:
java.sql.SQLFeatureNotSupportedException
Apache Derby V10.10 Internals - Copyright © 2004,2013 The Apache Software Foundation. All Rights Reserved.