diff --git a/src/share/classes/java/sql/BatchUpdateException.java b/src/share/classes/java/sql/BatchUpdateException.java
index 9f5fb2e33b553c81869b2eabf66cd2e67572ec08..4d41d471cff7dee63b21124c4d0c9598fd2038b6 100644
--- a/src/share/classes/java/sql/BatchUpdateException.java
+++ b/src/share/classes/java/sql/BatchUpdateException.java
@@ -409,7 +409,7 @@ public class BatchUpdateException extends SQLException {
* cause and updateCounts.
*
* This constructor should be used when the returned update count may exceed - * {@link Integer.MAX_VALUE}. + * {@link Integer#MAX_VALUE}. *
* @param reason a description of the error
* @param SQLState an XOPEN or SQL:2003 code identifying the exception
@@ -447,7 +447,7 @@ public class BatchUpdateException extends SQLException {
* the BatchUpdateException was thrown.
*
* This method should be used when {@code Statement.executeLargeBatch} is - * invoked and the returned update count may exceed {@link Integer.MAX_VALUE}. + * invoked and the returned update count may exceed {@link Integer#MAX_VALUE}. *
* @return an array of long containing the update counts
* for the updates that were executed successfully before this error
diff --git a/src/share/classes/java/sql/PreparedStatement.java b/src/share/classes/java/sql/PreparedStatement.java
index 22b170777cf5113e4ebcf1282b53c01777f4468a..e4d16e86e6f044a5ab328a5ebb456e9f7efcba22 100644
--- a/src/share/classes/java/sql/PreparedStatement.java
+++ b/src/share/classes/java/sql/PreparedStatement.java
@@ -1300,7 +1300,7 @@ public interface PreparedStatement extends Statement {
* such as a DDL statement.
*
* This method should be used when the returned row count may exceed - * {@link Integer.MAX_VALUE}. + * {@link Integer#MAX_VALUE}. *
* The default implementation will throw {@code UnsupportedOperationException} * diff --git a/src/share/classes/java/sql/Statement.java b/src/share/classes/java/sql/Statement.java index 584f17c0a177ab121f2bfdcef3df62ea7549950d..34859c52c44ae4ea63b9fba8340a45ff65ce4031 100644 --- a/src/share/classes/java/sql/Statement.java +++ b/src/share/classes/java/sql/Statement.java @@ -1077,7 +1077,7 @@ public interface Statement extends Wrapper, AutoCloseable { * is returned. This method should be called only once per result. *
* This method should be used when the returned row count may exceed - * {@link Integer.MAX_VALUE}. + * {@link Integer#MAX_VALUE}. *
* The default implementation will throw {@code UnsupportedOperationException} * @@ -1100,7 +1100,7 @@ public interface Statement extends Wrapper, AutoCloseable { * rows are silently dropped. *
* This method should be used when the row limit may exceed - * {@link Integer.MAX_VALUE}. + * {@link Integer#MAX_VALUE}. *
* The default implementation will throw {@code UnsupportedOperationException} * @@ -1122,7 +1122,7 @@ public interface Statement extends Wrapper, AutoCloseable { * the excess rows are silently dropped. *
* This method should be used when the returned row limit may exceed - * {@link Integer.MAX_VALUE}. + * {@link Integer#MAX_VALUE}. *
* The default implementation will return {@code 0} * @@ -1172,7 +1172,7 @@ public interface Statement extends Wrapper, AutoCloseable { * *
* This method should be used when the returned row count may exceed - * {@link Integer.MAX_VALUE}. + * {@link Integer#MAX_VALUE}. *
* The default implementation will throw {@code UnsupportedOperationException} * @@ -1203,7 +1203,7 @@ public interface Statement extends Wrapper, AutoCloseable { * SQL statement that returns nothing, such as an SQL DDL statement. *
* This method should be used when the returned row count may exceed - * {@link Integer.MAX_VALUE}. + * {@link Integer#MAX_VALUE}. *
* Note:This method cannot be called on a
* PreparedStatement or CallableStatement.
@@ -1242,7 +1242,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* auto-generated keys (the list of such statements is vendor-specific).
*
* This method should be used when the returned row count may exceed - * {@link Integer.MAX_VALUE}. + * {@link Integer#MAX_VALUE}. *
* Note:This method cannot be called on a
* PreparedStatement or CallableStatement.
@@ -1290,7 +1290,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* auto-generated keys (the list of such statements is vendor-specific).
*
* This method should be used when the returned row count may exceed - * {@link Integer.MAX_VALUE}. + * {@link Integer#MAX_VALUE}. *
* Note:This method cannot be called on a
* PreparedStatement or CallableStatement.
@@ -1334,7 +1334,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* auto-generated keys (the list of such statements is vendor-specific).
*
* This method should be used when the returned row count may exceed - * {@link Integer.MAX_VALUE}. + * {@link Integer#MAX_VALUE}. *
* Note:This method cannot be called on a
* PreparedStatement or CallableStatement.
@@ -1368,4 +1368,3 @@ public interface Statement extends Wrapper, AutoCloseable {
throw new SQLFeatureNotSupportedException("executeLargeUpdate not implemented");
}
}
-