public interface JdbcStatementBackwardsCompat
Modifier and Type | Method and Description |
---|---|
String |
enquoteIdentifier(String identifier,
boolean alwaysQuote)
Enquotes the specified identifier.
|
long[] |
executeLargeBatch()
Executes the batch.
|
long |
executeLargeUpdate(String sql)
Executes a statement (insert, update, delete, create, drop)
and returns the update count.
|
long |
executeLargeUpdate(String sql,
int autoGeneratedKeys)
Executes a statement and returns the update count.
|
long |
executeLargeUpdate(String sql,
int[] columnIndexes)
Executes a statement and returns the update count.
|
long |
executeLargeUpdate(String sql,
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(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 SQLException
SQLException
- if this object is closed or invalidvoid setLargeMaxRows(long max) throws SQLException
max
- the number of rows where 0 means no limitSQLException
- if this object is closedlong getLargeMaxRows() throws SQLException
SQLException
- if this object is closedlong[] executeLargeBatch() throws SQLException
SQLException
long executeLargeUpdate(String sql) throws SQLException
sql
- the SQL statementSQLException
- if a database error occurred or a
select statement was executedlong executeLargeUpdate(String sql, int autoGeneratedKeys) throws SQLException
sql
- the SQL statementautoGeneratedKeys
- ignoredSQLException
- if a database error occurred or a
select statement was executedlong executeLargeUpdate(String sql, int[] columnIndexes) throws SQLException
sql
- the SQL statementcolumnIndexes
- ignoredSQLException
- if a database error occurred or a
select statement was executedlong executeLargeUpdate(String sql, String[] columnNames) throws SQLException
sql
- the SQL statementcolumnNames
- ignoredSQLException
- if a database error occurred or a
select statement was executedString enquoteIdentifier(String identifier, boolean alwaysQuote) throws SQLException
identifier
- identifier to quote if requiredalwaysQuote
- if true
identifier will be quoted unconditionallySQLException
boolean isSimpleIdentifier(String identifier) throws SQLException
identifier
- identifier to checkSQLException
Copyright © 2020 JBoss by Red Hat. All rights reserved.