Class JdbcConstants (2.9.2)

public final class JdbcConstants

Constants for special values used by the Cloud Spanner JDBC driver.

Inheritance

java.lang.Object > JdbcConstants

Static Fields

STATEMENT_NO_RESULT

public static final int STATEMENT_NO_RESULT

Special value that is used to indicate that a statement had no result. The method Statement#getUpdateCount() will return this value if the previous statement that was executed with Statement#execute(String) returned com.google.cloud.spanner.connection.StatementResult.ResultType#NO_RESULT, such as DDL statements.

Field Value
TypeDescription
int

STATEMENT_RESULT_SET

public static final int STATEMENT_RESULT_SET

Special value that is used to indicate that a statement returned a ResultSet. The method Statement#getUpdateCount() will return this value if the previous statement that was executed with Statement#execute(String) returned a ResultSet.

Field Value
TypeDescription
int