< prev index next >

jdk/src/java.sql/share/classes/java/sql/Connection.java

Print this page

        

@@ -1536,11 +1536,11 @@
      * called by the application</li>
      * <li>The pool manager calls {@code Connection.close} on the logical connection handle
      * prior to returning the {@code PooledConnection} back to the cache</li>
      * </ul>
      * @throws SQLException if an error occurs
-     * @since 1.9
+     * @since 9
      * @see endRequest
      * @see javax.sql.PooledConnection
      */
     default void beginRequest() throws SQLException {
        // Default method takes no action

@@ -1578,11 +1578,11 @@
      * called by the application</li>
      * <li>The pool manager calls {@code Connection.close} on the logical connection handle
      * prior to returning the {@code PooledConnection} back to the cache</li>
      * </ul>
      * @throws SQLException if an error occurs
-     * @since 1.9
+     * @since 9
      * @see beginRequest
      * @see javax.sql.PooledConnection
      */
     default void endRequest() throws SQLException {
             // Default method takes no action

@@ -1612,11 +1612,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)

@@ -1643,11 +1643,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 {

@@ -1669,11 +1669,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 {

@@ -1692,11 +1692,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 >