railo.runtime.db.driver.state
Class StateUtil

java.lang.Object
  extended by railo.runtime.db.driver.state.StateUtil

public class StateUtil
extends Object


Constructor Summary
StateUtil()
           
 
Method Summary
static boolean execute(PageContext pc, PreparedStatement stat, String sql)
           
static boolean execute(PageContext pc, Statement stat, String sql)
           
static boolean execute(PageContext pc, Statement stat, String sql, int autoGeneratedKeys)
           
static boolean execute(PageContext pc, Statement stat, String sql, int[] columnIndexes)
           
static boolean execute(PageContext pc, Statement stat, String sql, String[] columnNames)
           
static ResultSet executeQuery(PageContext pc, PreparedStatement stat, String sql)
           
static ResultSet executeQuery(PageContext pc, Statement stat, String sql)
           
static int executeUpdate(PageContext pc, PreparedStatement stat, String sql)
           
static int executeUpdate(PageContext pc, Statement stat, String sql)
           
static int executeUpdate(PageContext pc, Statement stat, String sql, int autoGeneratedKeys)
           
static int executeUpdate(PageContext pc, Statement stat, String sql, int[] columnIndexes)
           
static int executeUpdate(PageContext pc, Statement stat, String sql, String[] columnNames)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateUtil

public StateUtil()
Method Detail

execute

public static boolean execute(PageContext pc,
                              Statement stat,
                              String sql)
                       throws SQLException
Throws:
SQLException

execute

public static boolean execute(PageContext pc,
                              Statement stat,
                              String sql,
                              int autoGeneratedKeys)
                       throws SQLException
Throws:
SQLException

execute

public static boolean execute(PageContext pc,
                              Statement stat,
                              String sql,
                              int[] columnIndexes)
                       throws SQLException
Throws:
SQLException

execute

public static boolean execute(PageContext pc,
                              Statement stat,
                              String sql,
                              String[] columnNames)
                       throws SQLException
Throws:
SQLException

executeQuery

public static ResultSet executeQuery(PageContext pc,
                                     Statement stat,
                                     String sql)
                              throws SQLException
Throws:
SQLException

executeUpdate

public static int executeUpdate(PageContext pc,
                                Statement stat,
                                String sql)
                         throws SQLException
Throws:
SQLException

executeUpdate

public static int executeUpdate(PageContext pc,
                                Statement stat,
                                String sql,
                                int autoGeneratedKeys)
                         throws SQLException
Throws:
SQLException

executeUpdate

public static int executeUpdate(PageContext pc,
                                Statement stat,
                                String sql,
                                int[] columnIndexes)
                         throws SQLException
Throws:
SQLException

executeUpdate

public static int executeUpdate(PageContext pc,
                                Statement stat,
                                String sql,
                                String[] columnNames)
                         throws SQLException
Throws:
SQLException

execute

public static boolean execute(PageContext pc,
                              PreparedStatement stat,
                              String sql)
                       throws SQLException
Throws:
SQLException

executeQuery

public static ResultSet executeQuery(PageContext pc,
                                     PreparedStatement stat,
                                     String sql)
                              throws SQLException
Throws:
SQLException

executeUpdate

public static int executeUpdate(PageContext pc,
                                PreparedStatement stat,
                                String sql)
                         throws SQLException
Throws:
SQLException


Copyright © 2012 Railo