Class Hierarchy Previous Next Index
java.lang.Object | +----COM.cloudscape.core.AbstractDataSource | +----COM.cloudscape.core.XaDataSource
An XaDataSource is an implementation of the javax.sql.XADataSource interface. An XaDataSource object can be obtained via a DataSourceFactory.
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.
XaDataSource object only works on a local database. There is no client/server support. An XaDataSource object must live in the same jvm as the database.
XaDataSource is serializable and referenceable.
See AbstractDataSource for DataSource properties.
Attempt to establish a database connection.
Attempt to establish a database connection.
public XaDataSource()
public javax.sql.XAConnection getXAConnection() throws java.sql.SQLException
Attempt to establish a database connection.
public javax.sql.XAConnection getXAConnection(java.lang.String user, java.lang.String password) throws java.sql.SQLException
Attempt to establish a database connection.
user
- the database user on whose behalf the Connection is being made
password
- the user's password
Class Hierarchy Previous Next Index