public interface JdbcStatementBackwardsCompat
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
enquoteIdentifier(java.lang.String identifier,
boolean alwaysQuote)
Enquotes the specified identifier.
|
long[] |
executeLargeBatch()
Executes the batch.
|
long |
executeLargeUpdate(java.lang.String sql)
Executes a statement (insert, update, delete, create, drop)
and returns the update count.
|
long |
executeLargeUpdate(java.lang.String sql,
int autoGeneratedKeys)
Executes a statement and returns the update count.
|
long |
executeLargeUpdate(java.lang.String sql,
int[] columnIndexes)
Executes a statement and returns the update count.
|
long |
executeLargeUpdate(java.lang.String sql,
java.lang.String[] columnNames)
Executes a statement and returns the update count.
|
long |
getLargeMaxRows()
Gets the maximum number of rows for a ResultSet.
|
long |
getLargeUpdateCount()
Returns the last update count of this statement.
|
boolean |
isSimpleIdentifier(java.lang.String identifier)
Checks if specified identifier may be used without quotes.
|
void |
setLargeMaxRows(long max)
Gets the maximum number of rows for a ResultSet.
|
long getLargeUpdateCount()
throws java.sql.SQLException
java.sql.SQLException - if this object is closed or invalidvoid setLargeMaxRows(long max)
throws java.sql.SQLException
max - the number of rows where 0 means no limitjava.sql.SQLException - if this object is closedlong getLargeMaxRows()
throws java.sql.SQLException
java.sql.SQLException - if this object is closedlong[] executeLargeBatch()
throws java.sql.SQLException
java.sql.SQLExceptionlong executeLargeUpdate(java.lang.String sql)
throws java.sql.SQLException
sql - the SQL statementjava.sql.SQLException - if a database error occurred or a
select statement was executedlong executeLargeUpdate(java.lang.String sql,
int autoGeneratedKeys)
throws java.sql.SQLException
sql - the SQL statementautoGeneratedKeys - ignoredjava.sql.SQLException - if a database error occurred or a
select statement was executedlong executeLargeUpdate(java.lang.String sql,
int[] columnIndexes)
throws java.sql.SQLException
sql - the SQL statementcolumnIndexes - ignoredjava.sql.SQLException - if a database error occurred or a
select statement was executedlong executeLargeUpdate(java.lang.String sql,
java.lang.String[] columnNames)
throws java.sql.SQLException
sql - the SQL statementcolumnNames - ignoredjava.sql.SQLException - if a database error occurred or a
select statement was executedjava.lang.String enquoteIdentifier(java.lang.String identifier,
boolean alwaysQuote)
throws java.sql.SQLException
identifier - identifier to quote if requiredalwaysQuote - if true identifier will be quoted unconditionallyjava.sql.SQLExceptionboolean isSimpleIdentifier(java.lang.String identifier)
throws java.sql.SQLException
identifier - identifier to checkjava.sql.SQLException