framework.db
Class SQLStatement
java.lang.Object
framework.db.DBStatement
framework.db.SQLStatement
public class SQLStatement
- extends DBStatement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SQLStatement
public SQLStatement(java.lang.String sql,
ConnectionManager connMgr,
java.lang.Object caller)
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