public class FBStatement extends AbstractStatement
Statement
AbstractStatement.StatementResult
completed, connection, currentStatementResult, fetchSize, firstWarning, fixedStmt, gdsHelper, maxRows, statementListener
Constructor and Description |
---|
FBStatement(org.firebirdsql.gds.impl.GDSHelper c,
int rsType,
int rsConcurrency,
int rsHoldability,
FBObjectListener.StatementListener statementListener) |
Modifier and Type | Method and Description |
---|---|
long[] |
executeLargeBatch() |
long |
executeLargeUpdate(java.lang.String sql) |
long |
executeLargeUpdate(java.lang.String sql,
int autoGeneratedKeys) |
long |
executeLargeUpdate(java.lang.String sql,
int[] columnIndexes) |
long |
executeLargeUpdate(java.lang.String sql,
java.lang.String[] columnNames) |
long |
getLargeMaxRows() |
long |
getLargeUpdateCount() |
java.util.logging.Logger |
getParentLogger() |
void |
setLargeMaxRows(long max) |
addBatch, addWarning, cancel, checkValidity, clearBatch, clearWarnings, close, closeOnCompletion, completeStatement, completeStatement, equals, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, finalize, forgetResultSet, getConnection, getCurrentResultSet, getDeletedRowsCount, getFetchDirection, getFetchSize, getGeneratedKeys, getInsertedRowsCount, getLastExecutionPlan, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getSynchronizationObject, getUpdateCount, getUpdateCountInternal, getUpdatedRowsCount, getWarnings, hashCode, hasOpenResultSet, internalExecute, isClosed, isCloseOnCompletion, isExecuteProcedureStatement, isPoolable, isValid, isWrapperFor, nativeSQL, notifyStatementCompleted, notifyStatementCompleted, notifyStatementStarted, notifyStatementStarted, prepareFixedStatement, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, toArray, unwrap
public FBStatement(org.firebirdsql.gds.impl.GDSHelper c, int rsType, int rsConcurrency, int rsHoldability, FBObjectListener.StatementListener statementListener) throws java.sql.SQLException
java.sql.SQLException
public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException
java.sql.SQLFeatureNotSupportedException
public long getLargeUpdateCount() throws java.sql.SQLException
Jaybird does not support large update counts, the return value of this method is the same as
AbstractStatement.getUpdateCount()
.
java.sql.SQLException
public void setLargeMaxRows(long max) throws java.sql.SQLException
Jaybird does not support maxRows exceeding Integer.MAX_VALUE
, if a larger value is set, Jaybird will
add a warning to the statement and reset the maximum to 0.
java.sql.SQLException
public long getLargeMaxRows() throws java.sql.SQLException
Jaybird does not support maxRows exceeding Integer.MAX_VALUE
, the return value of this method is the
same as AbstractStatement.getMaxRows()
.
java.sql.SQLException
public long[] executeLargeBatch() throws java.sql.SQLException
Jaybird does not support update counts exceeding Integer.MAX_VALUE
, this method calls
AbstractStatement.executeBatch()
and converts the int-array to a long-array.
java.sql.SQLException
public long executeLargeUpdate(java.lang.String sql) throws java.sql.SQLException
Jaybird does not support update counts exceeding Integer.MAX_VALUE
, this method calls
AbstractStatement.executeUpdate(String)
.
java.sql.SQLException
public long executeLargeUpdate(java.lang.String sql, int autoGeneratedKeys) throws java.sql.SQLException
Jaybird does not support update counts exceeding Integer.MAX_VALUE
, this method calls
AbstractStatement.executeUpdate(String,int)
.
java.sql.SQLException
public long executeLargeUpdate(java.lang.String sql, int[] columnIndexes) throws java.sql.SQLException
Jaybird does not support update counts exceeding Integer.MAX_VALUE
, this method calls
AbstractStatement.executeUpdate(String,int[])
.
java.sql.SQLException
public long executeLargeUpdate(java.lang.String sql, java.lang.String[] columnNames) throws java.sql.SQLException
Jaybird does not support update counts exceeding Integer.MAX_VALUE
, this method calls
AbstractStatement.executeUpdate(String,String[])
.
java.sql.SQLException
Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.