The org. can be used to get
instances of this class.
The methods of the superclass, org.,
are used for settings the HyperSQL server and user.
javax.sql.XADataSource , org.hsqldb.jdbc.pool.JDBCXAConnection
| Modifier and Type | Field and Description |
|---|---|
| private ReentrantReadWriteLock | |
| private HashMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| pack-priv Xid[] | getPreparedXids()
Return the list of transactions currently in prepared or heuristically completed states. |
| public Reference | Returns: The non-null javax.naming.Reference of this object.Implements javax. Retrieves the Reference of this object. |
| pack-priv JDBCXAResource | getResource(Xid xid)
This is needed so that XAResource.commit() and XAResource.rollback() may be applied to the right Connection (which is not necessarily that associated with that XAResource object). |
| public XAConnection | getXAConnection()
Implements javax. Get new XAConnection connection, to be managed by a connection manager. |
| public XAConnection | getXAConnection(String
String which must match the 'user' configured for this
JDBCXADataSource. user, String String which must match the 'password' configured
for this JDBCXADataSource. password)Implements javax. Gets a new XAConnection after validating the given username and password. |
| public JDBCXAResource |
| lock | back to summary |
|---|---|
| private ReentrantReadWriteLock lock | |
| resources | back to summary |
|---|---|
| private HashMap<Xid, JDBCXAResource> resources | |
| JDBCXADataSource | back to summary |
|---|---|
| public JDBCXADataSource() throws SQLException | |
| addResource | back to summary |
|---|---|
| public void addResource(Xid xid, JDBCXAResource xaResource) | |
| getPreparedXids | back to summary |
|---|---|
| pack-priv Xid[] getPreparedXids() Return the list of transactions currently in prepared or heuristically completed states. Need to find out what non-prepared states they are considering heuristically completed. | |
| getReference | back to summary |
|---|---|
| public Reference getReference() throws NamingException Implements javax. Retrieves the Reference of this object.
| |
| getResource | back to summary |
|---|---|
| pack-priv JDBCXAResource getResource(Xid xid) This is needed so that XAResource.commit() and XAResource.rollback() may be applied to the right Connection (which is not necessarily that associated with that XAResource object). | |
| getXAConnection | back to summary |
|---|---|
| public XAConnection getXAConnection() throws SQLException Implements javax. Get new XAConnection connection, to be managed by a connection manager.
| |
| getXAConnection | back to summary |
|---|---|
| public XAConnection getXAConnection(String user, String password) throws SQLException Implements javax. Gets a new XAConnection after validating the given username and password.
| |
| removeResource | back to summary |
|---|---|
| public JDBCXAResource removeResource(Xid xid) | |