Class TimesTenXAConnectionBuilder

  • All Implemented Interfaces:
    javax.sql.XAConnectionBuilder

    public class TimesTenXAConnectionBuilder
    extends java.lang.Object
    implements javax.sql.XAConnectionBuilder
    This 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.sql.XAConnection build()
      Returns an instance of the object defined by this builder.
      javax.sql.XAConnectionBuilder password​(java.lang.String password)
      Feature not supported - Specifies the password to be used when creating a connection.
      javax.sql.XAConnectionBuilder shardingKey​(java.sql.ShardingKey shardingKey)
      Feature not supported - Specifies a shardingKey to be used when creating a connection.
      javax.sql.XAConnectionBuilder superShardingKey​(java.sql.ShardingKey superShardingKey)
      Feature not supported - Specifies a superShardingKey to be used when creating a connection.
      javax.sql.XAConnectionBuilder user​(java.lang.String username)
      Feature not supported - Specifies a user to be used when creating a connection.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TimesTenXAConnectionBuilder

        public TimesTenXAConnectionBuilder​(TimesTenXADataSource ds)
        Constructor
        Parameters:
        ds - the DataSource.
    • Method Detail

      • build

        public javax.sql.XAConnection build()
                                     throws java.sql.SQLException
        Returns an instance of the object defined by this builder.
        Specified by:
        build in interface javax.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:
        password in interface javax.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:
        shardingKey in interface javax.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:
        superShardingKey in interface javax.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:
        user in interface javax.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)