|
oracle eWay API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.stc.connector.oracleadapter.base.StatementAgentImpl
com.stc.connector.oracleadapter.base.PreparedStatementAgentImpl
com.stc.connector.oracleadapter.OraclePreparedStatementAgent
public class OraclePreparedStatementAgent
Agent hosts PreparedStatement interface for Oracle.
| Field Summary |
|---|
| Fields inherited from class com.stc.connector.oracleadapter.base.PreparedStatementAgentImpl |
|---|
askGetMoreResults, askGetResultSet, bUseResultsAvailable, curRSetAgent, curRSetSig, nParam, nUpdateCount, retResultSet, retUpdateCount, sCommand |
| Fields inherited from class com.stc.connector.oracleadapter.base.StatementAgentImpl |
|---|
concurrencyType, listener, resultSetConcurMap, resultsetDirection, resultSetDirMap, resultsetType, resultSetTypeMap, session, sqlException, statement, statementClassName |
| Constructor Summary | |
|---|---|
OraclePreparedStatementAgent()
Default constructor to create an OraclePraparedStatementAgent instance. |
|
OraclePreparedStatementAgent(com.stc.connector.db.Session session)
Constructor to create an OraclePraparedStatementAgent instance. |
|
OraclePreparedStatementAgent(com.stc.connector.db.Session session,
int iScroll,
int iConcur)
Constructor to create an OraclePraparedStatementAgent instance. |
|
OraclePreparedStatementAgent(com.stc.connector.db.Session session,
java.lang.String sSql)
Constructor to create an OraclePraparedStatementAgent instance. |
|
OraclePreparedStatementAgent(com.stc.connector.db.Session session,
java.lang.String sSql,
int iScroll,
int iConcur)
Constructor to create an OraclePraparedStatementAgent instance. |
|
| Method Summary | |
|---|---|
boolean |
resultsAvailable()
Determines whether results (Update Counts and/or Result Sets) are available after an execute. |
void |
setOracleCursorOrds(int[] cursorOrds)
Sets the Oracle cursor ordinals. |
| Methods inherited from class com.stc.connector.oracleadapter.base.PreparedStatementAgentImpl |
|---|
addBatch, clearParameters, curRSetSig, enableResultSetsAndUpdateCounts, enableResultSetsOnly, enableUpdateCountsOnly, execute, executeQuery, executeUpdate, getCurRSetAgent, getPreparedStmt, getQueryString, getRSAgentList, getRSAgentSigs, getUpdateCount, matchResultSetSignature, sessionOpen, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setCurRSetAgent, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setRSAgentList, setRSAgentSigs, setShort, setString, setTime, setTime, setTimestamp, setTimestamp |
| Methods inherited from class com.stc.connector.oracleadapter.base.StatementAgentImpl |
|---|
cancel, clearBatch, clearWarnings, executeBatch, getFetchDirection, getFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetType, getWarnings, isClosed, queryName, resultSetConcurToString, resultSetDirToString, resultSetTypeToString, sessionClose, sessionReset, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, stmtInvoke |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.stc.connector.appconn.db.StatementAgent |
|---|
cancel, clearBatch, clearWarnings, executeBatch, getFetchDirection, getFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetType, getWarnings, isClosed, queryName, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, stmtInvoke |
| Constructor Detail |
|---|
public OraclePreparedStatementAgent()
public OraclePreparedStatementAgent(com.stc.connector.db.Session session)
session - a Session object used to hold connection information.
public OraclePreparedStatementAgent(com.stc.connector.db.Session session,
int iScroll,
int iConcur)
session - a Session object used to hold connection information.iScroll - resultset type; TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE.iConcur - concurrency type; CONCUR_READ_ONLY, CONCUR_UPDATABLE.
public OraclePreparedStatementAgent(com.stc.connector.db.Session session,
java.lang.String sSql)
session - a Session object used to hold connection information.sSql - a SQL statement for the prepared statement.
public OraclePreparedStatementAgent(com.stc.connector.db.Session session,
java.lang.String sSql,
int iScroll,
int iConcur)
session - a Session object used to hold connection information.sSql - a SQL statement for the prepared statement.iScroll - resultset type; TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVEiConcur - concurrency type; CONCUR_READ_ONLY, CONCUR_UPDATABLE.| Method Detail |
|---|
public boolean resultsAvailable()
throws java.sql.SQLException
resultsAvailable in interface com.stc.connector.appconn.db.PreparedStatementAgentresultsAvailable in class PreparedStatementAgentImpltrue if Update Counts and/or Result Sets are available.
java.sql.SQLException - when SQL problems occur. when SQL problems occur.public void setOracleCursorOrds(int[] cursorOrds)
cursorOrds - an arrary of integer ordinals.
|
oracle eWay API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||