Similar to ClientXADataSource except it does not support JNDI,
i.e. it does not implement javax.naming.Referenceable.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ShardingKeyBuilder | createShardingKeyBuilder()
Overrides default org. |
| public XAConnection | getXAConnection()
Implements javax. |
| public XAConnection | getXAConnection(String
the database user on whose behalf the connection is being made user, String the user's password password)Implements javax. |
| className__ | back to summary |
|---|---|
| public static final String className__ Hides org. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| BasicClientXADataSource40 | back to summary |
|---|---|
| public BasicClientXADataSource40() | |
| createShardingKeyBuilder | back to summary |
|---|---|
| public ShardingKeyBuilder createShardingKeyBuilder() throws SQLException Overrides default org. Added by Java 9
| |
| getXAConnection | back to summary |
|---|---|
| public XAConnection getXAConnection() throws SQLException Implements javax. Doc from javax. Attempts to establish a physical database connection that can be used in a distributed transaction.
| |
| getXAConnection | back to summary |
|---|---|
| public XAConnection getXAConnection(String user, String password) throws SQLException Implements javax. Doc from javax. Attempts to establish a physical database connection, using the given user name and password. The connection that is returned is one that can be used in a distributed transaction.
| |