class XADatabase extends Database
Modifier and Type | Field and Description |
---|---|
private ResourceAdapter |
ra |
private javax.sql.XAConnection |
xaConnection |
private EmbeddedXADataSourceInterface |
xaDataSource |
private javax.transaction.xa.XAResource |
xaResource |
accessCount, attrString, byteOrder, ccsidDBC, ccsidDBCEncoding, ccsidMBC, ccsidMBCEncoding, ccsidSBC, ccsidSBCEncoding, crrtkn, decryptedPassword, decryptedUserId, defaultStatement, password, passwordSubstitute, rdbAllowUpdates, RDBUPDRM_sent, secTokenIn, secTokenOut, securityMechanism, sendTRGDFTRT, typDefNam, userId
Constructor and Description |
---|
XADatabase(java.lang.String dbName) |
Modifier and Type | Method and Description |
---|---|
(package private) ResourceAdapter |
getResourceAdapter() |
protected javax.transaction.xa.XAResource |
getXAResource()
get XA Resource for this connection
|
(package private) void |
makeConnection(java.util.Properties p)
Make a new connection using the database name and set
the connection in the database
|
protected void |
setXAResource(javax.transaction.xa.XAResource resource)
SetXAResource
|
appendAttrString, buildRuntimeInfo, close, commit, getConnection, getCurrentStatement, getDatabaseName, getDefaultStatement, getDefaultStatement, getDRDAStatement, getPiggyBackedSessionData, getPrepareIsolation, getShortDbName, makeDummyConnection, newDRDAStatement, removeStatement, reset, rollback, setConnection, setCurrentStatement, setDatabaseName, setDrdaID, setPrepareIsolation, storeStatement, supportsLocator
private EmbeddedXADataSourceInterface xaDataSource
private javax.transaction.xa.XAResource xaResource
private javax.sql.XAConnection xaConnection
private ResourceAdapter ra
void makeConnection(java.util.Properties p) throws java.sql.SQLException
makeConnection
in class Database
p
- Properties for connection attributes to pass to connectjava.sql.SQLException
protected void setXAResource(javax.transaction.xa.XAResource resource)
resource
- XAResource for this connectionprotected javax.transaction.xa.XAResource getXAResource()
ResourceAdapter getResourceAdapter()
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.