< prev index next >

jdk/src/java.sql/share/classes/javax/sql/XAConnection.java

Print this page

        

@@ -79,11 +79,11 @@
      * the {@code shardingkey} is {@code null}; a {@code superSharedingKey} is specified
      * without a {@code shardingKey}; this method is called on a closed
      * {@code connection}; or the {@code timeout} value is less than 0.
      * @throws SQLFeatureNotSupportedException if the driver does not support
      * sharding
-     * @since 1.9
+     * @since 9
      * @see ShardingKey
      * @see ShardingKeyBuilder
      */
     default boolean setShardingKeyIfValid(ShardingKey shardingKey,
             ShardingKey superShardingKey, int timeout)

@@ -110,11 +110,11 @@
      * the timeout period expires before the operation completes.
      * @throws SQLException if there is an error while performing this validation;
      * this method is called on a closed {@code connection}; the {@code shardingkey}
      * is {@code null}; or the {@code timeout} value is less than 0.
      * @throws SQLFeatureNotSupportedException if the driver does not support sharding
-     * @since 1.9
+     * @since 9
      * @see ShardingKey
      * @see ShardingKeyBuilder
      */
     default boolean setShardingKeyIfValid(ShardingKey shardingKey, int timeout)
             throws SQLException {

@@ -136,11 +136,11 @@
      * @throws SQLException if an error  occurs setting the sharding keys;
      * this method is called on a closed {@code connection};
      * the {@code shardingkey} is {@code null}; or
      * a {@code superSharedingKey} is specified without a {@code shardingKey}
      * @throws SQLFeatureNotSupportedException if the driver does not support sharding
-     * @since 1.9
+     * @since 9
      * @see ShardingKey
      * @see ShardingKeyBuilder
      */
     default void setShardingKey(ShardingKey shardingKey, ShardingKey superShardingKey)
             throws SQLException {

@@ -159,11 +159,11 @@
      * @param shardingKey the sharding key to set on this connection.
      * @throws SQLException if an error  occurs setting the sharding key;
      * this method is called on a closed {@code connection}; or the
      * {@code shardkingKey} is {@code null}
      * @throws SQLFeatureNotSupportedException if the driver does not support sharding
-     * @since 1.9
+     * @since 9
      * @see ShardingKey
      * @see ShardingKeyBuilder
      */
     default void setShardingKey(ShardingKey shardingKey)
             throws SQLException {
< prev index next >