001 package railo.runtime.db.driver; 002 003 import java.sql.ResultSet; 004 import java.sql.SQLException; 005 import java.sql.Statement; 006 007 import railo.runtime.PageContext; 008 009 public interface StatementPro extends Statement { 010 011 public boolean execute(PageContext pc,String sql) throws SQLException; 012 013 public boolean execute(PageContext pc,String sql, int autoGeneratedKeys) throws SQLException; 014 015 public boolean execute(PageContext pc,String sql, int[] columnIndexes) throws SQLException; 016 017 public boolean execute(PageContext pc,String sql, String[] columnNames) throws SQLException; 018 019 public ResultSet executeQuery(PageContext pc,String sql) throws SQLException; 020 021 public int executeUpdate(PageContext pc,String sql) throws SQLException; 022 023 public int executeUpdate(PageContext pc,String sql, int autoGeneratedKeys) throws SQLException; 024 025 public int executeUpdate(PageContext pc,String sql, int[] columnIndexes) throws SQLException; 026 027 public int executeUpdate(PageContext pc,String sql, String[] columnNames) throws SQLException; 028 029 }