public final class JdbcConstants extends Object
Modifier and Type | Field and Description |
---|---|
static int |
STATEMENT_NO_RESULT
Special value that is used to indicate that a statement had no result.
|
static int |
STATEMENT_RESULT_SET
Special value that is used to indicate that a statement returned a
ResultSet . |
public static final int STATEMENT_RESULT_SET
ResultSet
. The
method Statement.getUpdateCount()
will return this value if the previous statement that
was executed with Statement.execute(String)
returned a ResultSet
.public static final int STATEMENT_NO_RESULT
Statement.getUpdateCount()
will return this value if the previous statement that was executed
with Statement.execute(String)
returned StatementResult.ResultType.NO_RESULT
, such as DDL
statements.Copyright © 2023 Google LLC. All rights reserved.