Package com.timesten.jdbc.xa
Class TimesTenXAConnectionBuilder
- java.lang.Object
-
- com.timesten.jdbc.xa.TimesTenXAConnectionBuilder
-
- All Implemented Interfaces:
javax.sql.XAConnectionBuilder
public class TimesTenXAConnectionBuilder extends java.lang.Object implements javax.sql.XAConnectionBuilderThis is a builder interface created from a XADataSource object, which you can use to establish a connection to the database that the data source object represents.- Since:
- JDBC 4.3
-
-
Constructor Summary
Constructors Constructor Description TimesTenXAConnectionBuilder(TimesTenXADataSource ds)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.sql.XAConnectionbuild()Returns an instance of the object defined by this builder.javax.sql.XAConnectionBuilderpassword(java.lang.String password)Feature not supported - Specifies the password to be used when creating a connection.javax.sql.XAConnectionBuildershardingKey(java.sql.ShardingKey shardingKey)Feature not supported - Specifies a shardingKey to be used when creating a connection.javax.sql.XAConnectionBuildersuperShardingKey(java.sql.ShardingKey superShardingKey)Feature not supported - Specifies a superShardingKey to be used when creating a connection.javax.sql.XAConnectionBuilderuser(java.lang.String username)Feature not supported - Specifies a user to be used when creating a connection.
-
-
-
Constructor Detail
-
TimesTenXAConnectionBuilder
public TimesTenXAConnectionBuilder(TimesTenXADataSource ds)
Constructor- Parameters:
ds- the DataSource.
-
-
Method Detail
-
build
public javax.sql.XAConnection build() throws java.sql.SQLExceptionReturns an instance of the object defined by this builder.- Specified by:
buildin interfacejavax.sql.XAConnectionBuilder- Throws:
java.sql.SQLException- See Also:
XAConnectionBuilder.build()
-
password
public javax.sql.XAConnectionBuilder password(java.lang.String password)
Feature not supported - Specifies the password to be used when creating a connection. Feature not supported.- Specified by:
passwordin interfacejavax.sql.XAConnectionBuilder- Parameters:
password- the password to use for this connection. May be null- Returns:
- the same XAConnectionBuilder instance.
- See Also:
XAConnectionBuilder.password(java.lang.String)
-
shardingKey
public javax.sql.XAConnectionBuilder shardingKey(java.sql.ShardingKey shardingKey)
Feature not supported - Specifies a shardingKey to be used when creating a connection. Feature not supported.- Specified by:
shardingKeyin interfacejavax.sql.XAConnectionBuilder- Parameters:
shardingKey- the shardingKey. May be null- Returns:
- the same XAConnectionBuilder instance.
- See Also:
XAConnectionBuilder.shardingKey(java.sql.ShardingKey)
-
superShardingKey
public javax.sql.XAConnectionBuilder superShardingKey(java.sql.ShardingKey superShardingKey)
Feature not supported - Specifies a superShardingKey to be used when creating a connection. Feature not supported.- Specified by:
superShardingKeyin interfacejavax.sql.XAConnectionBuilder- Parameters:
superShardingKey- the SuperShardingKey. May be null- Returns:
- the same XAConnectionBuilder instance.
- See Also:
XAConnectionBuilder.superShardingKey(java.sql.ShardingKey)
-
user
public javax.sql.XAConnectionBuilder user(java.lang.String username)
Feature not supported - Specifies a user to be used when creating a connection. Feature not supported.- Specified by:
userin interfacejavax.sql.XAConnectionBuilder- Parameters:
username- username the database user on whose behalf the connection is being made- Returns:
- the same XAConnectionBuilder instance.
- See Also:
XAConnectionBuilder.user(java.lang.String)
-
-