|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.opencms.dbpool.CmsStatement
The object used for executing a static SQL statement and returning the results it produces.
Statement| Field Summary | |
protected CmsConnection |
m_con
The hook to the connection |
protected Statement |
m_originalStatement
The original statement |
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Statement m_originalStatement
protected CmsConnection m_con
| Method Detail |
public ResultSet executeQuery(String sql)
throws SQLException
executeQuery in interface StatementSQLException
public int executeUpdate(String sql)
throws SQLException
executeUpdate in interface StatementSQLException
public int getMaxFieldSize()
throws SQLException
getMaxFieldSize in interface StatementSQLException
public void setMaxFieldSize(int max)
throws SQLException
setMaxFieldSize in interface StatementSQLException
public int getMaxRows()
throws SQLException
getMaxRows in interface StatementSQLException
public void setMaxRows(int max)
throws SQLException
setMaxRows in interface StatementSQLException
public void setEscapeProcessing(boolean enable)
throws SQLException
setEscapeProcessing in interface StatementSQLException
public int getQueryTimeout()
throws SQLException
getQueryTimeout in interface StatementSQLException
public void setQueryTimeout(int seconds)
throws SQLException
setQueryTimeout in interface StatementSQLException
public void cancel()
throws SQLException
cancel in interface StatementSQLException
public SQLWarning getWarnings()
throws SQLException
getWarnings in interface StatementSQLException
public void clearWarnings()
throws SQLException
clearWarnings in interface StatementSQLException
public void setCursorName(String name)
throws SQLException
setCursorName in interface StatementSQLException
public boolean execute(String sql)
throws SQLException
execute in interface StatementSQLException
public ResultSet getResultSet()
throws SQLException
getResultSet in interface StatementSQLException
public int getUpdateCount()
throws SQLException
getUpdateCount in interface StatementSQLException
public void addBatch(String sql)
throws SQLException
addBatch in interface StatementSQLException
public void clearBatch()
throws SQLException
clearBatch in interface StatementSQLException
public int[] executeBatch()
throws SQLException
executeBatch in interface StatementSQLException
public int getResultSetType()
throws SQLException
getResultSetType in interface StatementSQLException
public int getResultSetConcurrency()
throws SQLException
getResultSetConcurrency in interface StatementSQLException
public int getFetchSize()
throws SQLException
getFetchSize in interface StatementSQLException
public void setFetchSize(int rows)
throws SQLException
setFetchSize in interface StatementSQLException
public int getFetchDirection()
throws SQLException
getFetchDirection in interface StatementSQLException
public void setFetchDirection(int direction)
throws SQLException
setFetchDirection in interface StatementSQLException
public boolean getMoreResults()
throws SQLException
getMoreResults in interface StatementSQLException
public boolean getMoreResults(int param)
throws SQLException
getMoreResults in interface StatementSQLException
public Connection getConnection()
throws SQLException
getConnection in interface StatementSQLException
public void close()
throws SQLException
close in interface StatementSQLException
protected void finalize()
throws Throwable
finalize in class ObjectThrowablepublic String toString()
toString in class Object
public boolean execute(String str,
int param)
throws SQLException
execute in interface StatementSQLException
public boolean execute(String str,
String[] str1)
throws SQLException
execute in interface StatementSQLException
public boolean execute(String str,
int[] values)
throws SQLException
execute in interface StatementSQLException
public int executeUpdate(String str,
String[] str1)
throws SQLException
executeUpdate in interface StatementSQLException
public int executeUpdate(String str,
int[] values)
throws SQLException
executeUpdate in interface StatementSQLException
public int executeUpdate(String str,
int param)
throws SQLException
executeUpdate in interface StatementSQLException
public ResultSet getGeneratedKeys()
throws SQLException
getGeneratedKeys in interface StatementSQLException
public int getResultSetHoldability()
throws SQLException
getResultSetHoldability in interface StatementSQLException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||