8006642: Fix javadoc warnings due to Integer.MAX_VALUE
Reviewed-by: alanb
This commit is contained in:
parent
3f14786363
commit
11e010320c
@ -409,7 +409,7 @@ public class BatchUpdateException extends SQLException {
|
||||
* <code>cause</code> and <code>updateCounts</code>.
|
||||
* <p>
|
||||
* This constructor should be used when the returned update count may exceed
|
||||
* {@link Integer.MAX_VALUE}.
|
||||
* {@link Integer#MAX_VALUE}.
|
||||
* <p>
|
||||
* @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 <code>BatchUpdateException</code> was thrown.
|
||||
* <p>
|
||||
* 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}.
|
||||
* <p>
|
||||
* @return an array of <code>long</code> containing the update counts
|
||||
* for the updates that were executed successfully before this error
|
||||
|
@ -1300,7 +1300,7 @@ public interface PreparedStatement extends Statement {
|
||||
* such as a DDL statement.
|
||||
* <p>
|
||||
* This method should be used when the returned row count may exceed
|
||||
* {@link Integer.MAX_VALUE}.
|
||||
* {@link Integer#MAX_VALUE}.
|
||||
* <p>
|
||||
* The default implementation will throw {@code UnsupportedOperationException}
|
||||
*
|
||||
|
@ -1077,7 +1077,7 @@ public interface Statement extends Wrapper, AutoCloseable {
|
||||
* is returned. This method should be called only once per result.
|
||||
* <p>
|
||||
* This method should be used when the returned row count may exceed
|
||||
* {@link Integer.MAX_VALUE}.
|
||||
* {@link Integer#MAX_VALUE}.
|
||||
*<p>
|
||||
* The default implementation will throw {@code UnsupportedOperationException}
|
||||
*
|
||||
@ -1100,7 +1100,7 @@ public interface Statement extends Wrapper, AutoCloseable {
|
||||
* rows are silently dropped.
|
||||
* <p>
|
||||
* This method should be used when the row limit may exceed
|
||||
* {@link Integer.MAX_VALUE}.
|
||||
* {@link Integer#MAX_VALUE}.
|
||||
*<p>
|
||||
* The default implementation will throw {@code UnsupportedOperationException}
|
||||
*
|
||||
@ -1122,7 +1122,7 @@ public interface Statement extends Wrapper, AutoCloseable {
|
||||
* the excess rows are silently dropped.
|
||||
* <p>
|
||||
* This method should be used when the returned row limit may exceed
|
||||
* {@link Integer.MAX_VALUE}.
|
||||
* {@link Integer#MAX_VALUE}.
|
||||
*<p>
|
||||
* The default implementation will return {@code 0}
|
||||
*
|
||||
@ -1172,7 +1172,7 @@ public interface Statement extends Wrapper, AutoCloseable {
|
||||
* </OL>
|
||||
* <p>
|
||||
* This method should be used when the returned row count may exceed
|
||||
* {@link Integer.MAX_VALUE}.
|
||||
* {@link Integer#MAX_VALUE}.
|
||||
*<p>
|
||||
* 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.
|
||||
* <p>
|
||||
* This method should be used when the returned row count may exceed
|
||||
* {@link Integer.MAX_VALUE}.
|
||||
* {@link Integer#MAX_VALUE}.
|
||||
* <p>
|
||||
* <strong>Note:</strong>This method cannot be called on a
|
||||
* <code>PreparedStatement</code> or <code>CallableStatement</code>.
|
||||
@ -1242,7 +1242,7 @@ public interface Statement extends Wrapper, AutoCloseable {
|
||||
* auto-generated keys (the list of such statements is vendor-specific).
|
||||
* <p>
|
||||
* This method should be used when the returned row count may exceed
|
||||
* {@link Integer.MAX_VALUE}.
|
||||
* {@link Integer#MAX_VALUE}.
|
||||
* <p>
|
||||
* <strong>Note:</strong>This method cannot be called on a
|
||||
* <code>PreparedStatement</code> or <code>CallableStatement</code>.
|
||||
@ -1290,7 +1290,7 @@ public interface Statement extends Wrapper, AutoCloseable {
|
||||
* auto-generated keys (the list of such statements is vendor-specific).
|
||||
* <p>
|
||||
* This method should be used when the returned row count may exceed
|
||||
* {@link Integer.MAX_VALUE}.
|
||||
* {@link Integer#MAX_VALUE}.
|
||||
* <p>
|
||||
* <strong>Note:</strong>This method cannot be called on a
|
||||
* <code>PreparedStatement</code> or <code>CallableStatement</code>.
|
||||
@ -1334,7 +1334,7 @@ public interface Statement extends Wrapper, AutoCloseable {
|
||||
* auto-generated keys (the list of such statements is vendor-specific).
|
||||
* <p>
|
||||
* This method should be used when the returned row count may exceed
|
||||
* {@link Integer.MAX_VALUE}.
|
||||
* {@link Integer#MAX_VALUE}.
|
||||
* <p>
|
||||
* <strong>Note:</strong>This method cannot be called on a
|
||||
* <code>PreparedStatement</code> or <code>CallableStatement</code>.
|
||||
@ -1368,4 +1368,3 @@ public interface Statement extends Wrapper, AutoCloseable {
|
||||
throw new SQLFeatureNotSupportedException("executeLargeUpdate not implemented");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user