framework.db
Class SQLStatement

java.lang.Object
  extended by framework.db.DBStatement
      extended by framework.db.SQLStatement

public class SQLStatement
extends DBStatement


Constructor Summary
SQLStatement(java.lang.String sql, ConnectionManager connMgr, java.lang.Object caller)
           
 
Method Summary
 void close()
          StatementÀÇ close ¸¦ ±¸ÇöÇϱâ À§ÇÑ Ãß»ó ¸Þ¼Òµå
 RecordSet executeQuery()
           
 RecordSet executeQuery(int currPage, int pageSize)
           
 RecordSet executeQuery(java.lang.String sql)
           
 RecordSet executeQuery(java.lang.String sql, int currPage, int pageSize)
           
 int executeUpdate()
           
 int executeUpdate(java.lang.String sql)
           
 RecordSet getRecordSet()
           
 java.lang.String getSQL()
           
protected  java.sql.Statement getStatement()
           
 int getUpdateCount()
           
 void setSQL(java.lang.String newSql)
           
 java.lang.String toString()
           
 
Methods inherited from class framework.db.DBStatement
getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SQLStatement

public SQLStatement(java.lang.String sql,
                    ConnectionManager connMgr,
                    java.lang.Object caller)
Method Detail

getStatement

protected java.sql.Statement getStatement()
                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

close

public void close()
           throws java.sql.SQLException
Description copied from class: DBStatement
StatementÀÇ close ¸¦ ±¸ÇöÇϱâ À§ÇÑ Ãß»ó ¸Þ¼Òµå

Specified by:
close in class DBStatement
Throws:
java.sql.SQLException

executeQuery

public RecordSet executeQuery(int currPage,
                              int pageSize)
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

executeQuery

public RecordSet executeQuery()
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

executeQuery

public RecordSet executeQuery(java.lang.String sql)
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

executeQuery

public RecordSet executeQuery(java.lang.String sql,
                              int currPage,
                              int pageSize)
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

executeUpdate

public int executeUpdate()
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

executeUpdate

public int executeUpdate(java.lang.String sql)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

getRecordSet

public RecordSet getRecordSet()

getSQL

public java.lang.String getSQL()

getUpdateCount

public int getUpdateCount()

setSQL

public void setSQL(java.lang.String newSql)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object