railo.runtime.db.driver.state
Class StateStatement

java.lang.Object
  extended by railo.runtime.db.driver.StatementProxy
      extended by railo.runtime.db.driver.state.StateStatement
All Implemented Interfaces:
Statement, Wrapper, StatementPro

public class StateStatement
extends StatementProxy


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
 
Constructor Summary
StateStatement(ConnectionProxy conn, Statement stat)
           
 
Method Summary
 boolean execute(PageContext pc, String sql)
           
 boolean execute(PageContext pc, String sql, int autoGeneratedKeys)
           
 boolean execute(PageContext pc, String sql, int[] columnIndexes)
           
 boolean execute(PageContext pc, String sql, String[] columnNames)
           
 boolean execute(String sql)
           
 boolean execute(String sql, int autoGeneratedKeys)
           
 boolean execute(String sql, int[] columnIndexes)
           
 boolean execute(String sql, String[] columnNames)
           
 ResultSet executeQuery(PageContext pc, String sql)
           
 ResultSet executeQuery(String sql)
           
 int executeUpdate(PageContext pc, String sql)
           
 int executeUpdate(PageContext pc, String sql, int autoGeneratedKeys)
           
 int executeUpdate(PageContext pc, String sql, int[] columnIndexes)
           
 int executeUpdate(PageContext pc, String sql, String[] columnNames)
           
 int executeUpdate(String sql)
           
 int executeUpdate(String sql, int autoGeneratedKeys)
           
 int executeUpdate(String sql, int[] columnIndexes)
           
 int executeUpdate(String sql, String[] columnNames)
           
 
Methods inherited from class railo.runtime.db.driver.StatementProxy
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, executeBatch, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, unwrap
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateStatement

public StateStatement(ConnectionProxy conn,
                      Statement stat)
Method Detail

execute

public boolean execute(String sql)
                throws SQLException
Specified by:
execute in interface Statement
Overrides:
execute in class StatementProxy
Throws:
SQLException

execute

public boolean execute(PageContext pc,
                       String sql)
                throws SQLException
Specified by:
execute in interface StatementPro
Overrides:
execute in class StatementProxy
Throws:
SQLException

execute

public boolean execute(String sql,
                       int autoGeneratedKeys)
                throws SQLException
Specified by:
execute in interface Statement
Overrides:
execute in class StatementProxy
Throws:
SQLException

execute

public boolean execute(PageContext pc,
                       String sql,
                       int autoGeneratedKeys)
                throws SQLException
Specified by:
execute in interface StatementPro
Overrides:
execute in class StatementProxy
Throws:
SQLException

execute

public boolean execute(String sql,
                       int[] columnIndexes)
                throws SQLException
Specified by:
execute in interface Statement
Overrides:
execute in class StatementProxy
Throws:
SQLException

execute

public boolean execute(PageContext pc,
                       String sql,
                       int[] columnIndexes)
                throws SQLException
Specified by:
execute in interface StatementPro
Overrides:
execute in class StatementProxy
Throws:
SQLException

execute

public boolean execute(String sql,
                       String[] columnNames)
                throws SQLException
Specified by:
execute in interface Statement
Overrides:
execute in class StatementProxy
Throws:
SQLException

execute

public boolean execute(PageContext pc,
                       String sql,
                       String[] columnNames)
                throws SQLException
Specified by:
execute in interface StatementPro
Overrides:
execute in class StatementProxy
Throws:
SQLException

executeQuery

public ResultSet executeQuery(String sql)
                       throws SQLException
Specified by:
executeQuery in interface Statement
Overrides:
executeQuery in class StatementProxy
Throws:
SQLException

executeQuery

public ResultSet executeQuery(PageContext pc,
                              String sql)
                       throws SQLException
Specified by:
executeQuery in interface StatementPro
Overrides:
executeQuery in class StatementProxy
Throws:
SQLException

executeUpdate

public int executeUpdate(String sql)
                  throws SQLException
Specified by:
executeUpdate in interface Statement
Overrides:
executeUpdate in class StatementProxy
Throws:
SQLException

executeUpdate

public int executeUpdate(PageContext pc,
                         String sql)
                  throws SQLException
Specified by:
executeUpdate in interface StatementPro
Overrides:
executeUpdate in class StatementProxy
Throws:
SQLException

executeUpdate

public int executeUpdate(String sql,
                         int autoGeneratedKeys)
                  throws SQLException
Specified by:
executeUpdate in interface Statement
Overrides:
executeUpdate in class StatementProxy
Throws:
SQLException

executeUpdate

public int executeUpdate(PageContext pc,
                         String sql,
                         int autoGeneratedKeys)
                  throws SQLException
Specified by:
executeUpdate in interface StatementPro
Overrides:
executeUpdate in class StatementProxy
Throws:
SQLException

executeUpdate

public int executeUpdate(String sql,
                         int[] columnIndexes)
                  throws SQLException
Specified by:
executeUpdate in interface Statement
Overrides:
executeUpdate in class StatementProxy
Throws:
SQLException

executeUpdate

public int executeUpdate(PageContext pc,
                         String sql,
                         int[] columnIndexes)
                  throws SQLException
Specified by:
executeUpdate in interface StatementPro
Overrides:
executeUpdate in class StatementProxy
Throws:
SQLException

executeUpdate

public int executeUpdate(String sql,
                         String[] columnNames)
                  throws SQLException
Specified by:
executeUpdate in interface Statement
Overrides:
executeUpdate in class StatementProxy
Throws:
SQLException

executeUpdate

public int executeUpdate(PageContext pc,
                         String sql,
                         String[] columnNames)
                  throws SQLException
Specified by:
executeUpdate in interface StatementPro
Overrides:
executeUpdate in class StatementProxy
Throws:
SQLException


Copyright © 2012 Railo