xbn.db
Class QueryPlain

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

public class QueryPlain
extends QueryBase

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

Source code:  QueryPlain.java.


Fields inherited from class xbn.XBNObject
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP
 
Constructor Summary
QueryPlain()
           
QueryPlain(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(DBCSPlain dbcs_plain)
           
 int getInt(DBConnDirect db_connDirect, String s_sql)
           
 int getInt(DBConnDirect db_connDirect, String s_sql, int i_resultSetType, int i_resultSetConcurrency)
           
 int getInt(DBCSPlain dbcs_plain)
           
 long getLong(DBConnDirect db_connDirect, String s_sql)
           
 long getLong(DBConnDirect db_connDirect, String s_sql, int i_resultSetType, int i_resultSetConcurrency)
           
 long getLong(DBCSPlain dbcs_plain)
           
 ResultSet getResultSet(DBConnDirect db_connDirect, String s_sql)
           
 ResultSet getResultSet(DBConnDirect db_connDirect, String s_sql, int i_resultSetType, int i_resultSetConcurrency)
           
 ResultSet getResultSet(DBCSPlain dbcs_plain)
           
 String getString(DBConnDirect db_connDirect, String s_sql)
           
 String getString(DBConnDirect db_connDirect, String s_sql, int i_resultSetType, int i_resultSetConcurrency)
           
 String getString(DBCSPlain dbcs_plain)
           
 int update(DBConnDirect db_connDirect, String s_sql)
           
 int update(DBConnDirect db_connDirect, String s_sql, int i_resultSetType, int i_resultSetConcurrency)
           
 int update(DBCSPlain dbcs_plain)
           
 
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

QueryPlain

public QueryPlain(boolean b_throwOnNoRowUpdate)

QueryPlain

public QueryPlain()
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(DBCSPlain dbcs_plain)
                       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(DBCSPlain dbcs_plain)
                 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(DBCSPlain dbcs_plain)
           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(DBCSPlain dbcs_plain)
             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(DBCSPlain dbcs_plain)
           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(DBCSPlain dbcs_plain)
                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