|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The IfmxStatement interface contains Informix extensions to the standard JDBC Statement interface.
Connection.createStatement()
,
Statement
,
ResultSet
Field Summary |
Fields inherited from interface java.sql.Statement |
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
Method Summary | |
java.sql.ResultSet |
executeQuery(java.lang.String sql,
boolean withHold)
An Informix extension to execute an SQL statement that returns a single ResultSet. |
boolean |
getAutoFree()
An Informix extension that returns the current autofree mode of this statement. |
int |
getSerial()
An Informix extension that returns the serial value of the last row inserted. |
long |
getSerial8()
An Informix extension that returns the serial8 value of the last row inserted. |
int |
getStatementType()
An Informix extention to return the statement type returned by preparing the SQL statement. |
void |
setAutoFree(boolean flag)
An Informix extension that allows the user to set the autofree property for this statement. |
Methods inherited from interface java.sql.Statement |
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout |
Method Detail |
public int getSerial() throws java.sql.SQLException
java.sql.SQLException
public long getSerial8() throws java.sql.SQLException
java.sql.SQLException
public void setAutoFree(boolean flag)
flag
- Indicates whether the autofree property is true (set) or
false.public boolean getAutoFree()
public 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.SQLException
public int getStatementType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |