public interface IfmxStatement
extends java.sql.Statement
The IfmxStatement interface contains GBase 8s extensions to the standard JDBC Statement interface.
Connection.createStatement(),
Statement,
ResultSet| Modifier and Type | Method and Description |
|---|---|
java.sql.ResultSet |
executeQuery(java.lang.String sql,
boolean withHold)
An GBase 8s extension to execute an SQL statement that returns a
single ResultSet.
|
boolean |
getAutoFree()
An GBase 8s extension that returns the current autofree mode of
this statement.
|
long |
getBigSerial()
An GBase 8s extension that returns the bigserial value of the last
row inserted.
|
int |
getFetchBufferSize()
returns the fetch buffer size if set for this statement object
|
int |
getSerial()
An GBase 8s extension that returns the serial value of the last
row inserted.
|
long |
getSerial8()
An GBase 8s extension that returns the serial8 value of the last
row inserted.
|
int |
getStatementType()
An GBase 8s extention to return the statement type returned
by preparing the SQL statement.
|
void |
setAutoFree(boolean flag)
An GBase 8s extension that allows the user to set the autofree
property for this statement.
|
void |
setFetchBufferSize(int bufferSize)
An GBase 8s extension that sets the buffer size for this Statement
object for fetch operation
This value will override any FET_BUF_SIZE connection level property
and is useful when OPTOFC property is set
Server will use this value as hint to determin the maximum buffer
size to send the data to the clients.
|
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutint getSerial()
throws java.sql.SQLException
java.sql.SQLExceptionlong getSerial8()
throws java.sql.SQLException
java.sql.SQLExceptionvoid setAutoFree(boolean flag)
flag - Indicates whether the autofree property is true (set) or
false.boolean getAutoFree()
java.sql.ResultSet executeQuery(java.lang.String sql,
boolean withHold)
throws java.sql.SQLException
sql - The SQL statement.withHold - Specifies whether the cursor has a hold or not.java.sql.SQLExceptionint getStatementType()
long getBigSerial()
throws java.sql.SQLException
java.sql.SQLExceptionvoid setFetchBufferSize(int bufferSize)
bufferSize - : number of bytes not exceeding 2GBjava.sql.SQLExceptionint getFetchBufferSize()