xbn.db
Class QueryPrepared

java.lang.Object
  |
  +--xbn.XBNObject
        |
        +--xbn.db.QueryBase
              |
              +--xbn.db.QueryPrepared

public class QueryPrepared
extends QueryBase

A QueryBase object that executes the Statement contained in a DBCSPrepared.

Source code:  QueryPrepared.java.


Fields inherited from class xbn.XBNObject
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP
 
Constructor Summary
QueryPrepared()
           
QueryPrepared(boolean b_throwOnNoRowUpdate)
           
 
Method Summary
 boolean execute(DBConnDirect db_connDirect, String s_sql)
           
 boolean execute(DBConnDirect db_connDirect, String s_sql, int i_resultSetType, int i_resultSetConcurrency)
           
 boolean execute(DBCSPrepared dbcs_prepared)
           
 int getInt(DBConnDirect db_connDirect, String s_sql)
           
 int getInt(DBConnDirect db_connDirect, String s_sql, int i_resultSetType, int i_resultSetConcurrency)
           
 int getInt(DBCSPrepared dbcs_prepared)
           
 long getLong(DBConnDirect db_connDirect, String s_sql)
           
 long getLong(DBConnDirect db_connDirect, String s_sql, int i_resultSetType, int i_resultSetConcurrency)
           
 long getLong(DBCSPrepared dbcs_prepared)
           
 ResultSet getResultSet(DBConnDirect db_connDirect, String s_sql)
           
 ResultSet getResultSet(DBConnDirect db_connDirect, String s_sql, int i_resultSetType, int i_resultSetConcurrency)
           
 ResultSet getResultSet(DBCSPrepared dbcs_prepared)
           
 String getString(DBConnDirect db_connDirect, String s_sql)
           
 String getString(DBConnDirect db_connDirect, String s_sql, int i_resultSetType, int i_resultSetConcurrency)
           
 String getString(DBCSPrepared dbcs_prepared)
           
 int update(DBConnDirect db_connDirect, String s_sql)
           
 int update(DBConnDirect db_connDirect, String s_sql, int i_resultSetType, int i_resultSetConcurrency)
           
 int update(DBCSPrepared dbcs_prepared)
           
 
Methods inherited from class xbn.db.QueryBase
doThrowOnNoRowUpdate, execute, getInt, getIntFromRS, getLong, getLongFromRS, getResultSet, getResultSet, getString, getStringFromRS, setThrowOnNoRowUpdate, update
 
Methods inherited from class xbn.XBNObject
getXMsgPrefix, sop, sopl, sopl, throwAX, throwAXIfBadStr, throwAXIfNull, throwAXSpoof
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryPrepared

public QueryPrepared(boolean b_throwOnNoRowUpdate)

QueryPrepared

public QueryPrepared()
Method Detail

getResultSet

public ResultSet getResultSet(DBConnDirect db_connDirect,
                              String s_sql,
                              int i_resultSetType,
                              int i_resultSetConcurrency)
                       throws SQLException

getResultSet

public ResultSet getResultSet(DBConnDirect db_connDirect,
                              String s_sql)
                       throws SQLException

getResultSet

public ResultSet getResultSet(DBCSPrepared dbcs_prepared)
                       throws SQLException

getString

public String getString(DBConnDirect db_connDirect,
                        String s_sql,
                        int i_resultSetType,
                        int i_resultSetConcurrency)
                 throws SQLException

getString

public String getString(DBConnDirect db_connDirect,
                        String s_sql)
                 throws SQLException

getString

public String getString(DBCSPrepared dbcs_prepared)
                 throws SQLException

getInt

public int getInt(DBConnDirect db_connDirect,
                  String s_sql,
                  int i_resultSetType,
                  int i_resultSetConcurrency)
           throws SQLException

getInt

public int getInt(DBConnDirect db_connDirect,
                  String s_sql)
           throws SQLException

getInt

public int getInt(DBCSPrepared dbcs_prepared)
           throws SQLException

getLong

public long getLong(DBConnDirect db_connDirect,
                    String s_sql,
                    int i_resultSetType,
                    int i_resultSetConcurrency)
             throws SQLException

getLong

public long getLong(DBConnDirect db_connDirect,
                    String s_sql)
             throws SQLException

getLong

public long getLong(DBCSPrepared dbcs_prepared)
             throws SQLException

update

public int update(DBConnDirect db_connDirect,
                  String s_sql,
                  int i_resultSetType,
                  int i_resultSetConcurrency)
           throws SQLException

update

public int update(DBConnDirect db_connDirect,
                  String s_sql)
           throws SQLException

update

public int update(DBCSPrepared dbcs_prepared)
           throws SQLException

execute

public boolean execute(DBConnDirect db_connDirect,
                       String s_sql,
                       int i_resultSetType,
                       int i_resultSetConcurrency)
                throws SQLException

execute

public boolean execute(DBConnDirect db_connDirect,
                       String s_sql)
                throws SQLException

execute

public boolean execute(DBCSPrepared dbcs_prepared)
                throws SQLException



Copyright 1997-2003, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.

 

http://sourceforge.net/projects/xbnjava

 

SourceForge.net Logo