framework.db
Class SQLPreparedStatement
java.lang.Object
framework.db.DBStatement
framework.db.SQLPreparedStatement
public class SQLPreparedStatement
- extends DBStatement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SQLPreparedStatement
public SQLPreparedStatement(java.lang.String sql,
ConnectionManager connMgr,
java.lang.Object caller)
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
clearParam
public void clearParam()
executeQuery
public RecordSet executeQuery()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
executeQuery
public RecordSet executeQuery(int currPage,
int pageSize)
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.lang.Throwable
- Throws:
java.lang.Throwable
getObject
public java.lang.Object getObject(int idx)
getParams
public java.lang.Object[] getParams()
getParamSize
public int getParamSize()
getPrepareStatment
protected java.sql.PreparedStatement getPrepareStatment()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getRecordSet
public RecordSet getRecordSet()
getSQL
public java.lang.String getSQL()
getString
public java.lang.String getString(int idx)
getUpdateCount
public int getUpdateCount()
set
public void set(java.lang.Object[] obj)
set
public void set(int idx,
double value)
set
public void set(int idx,
int value)
set
public void set(int idx,
long value)
set
public void set(int idx,
java.lang.Object obj)
set
public void set(int idx,
byte[] value)
setSQL
public void setSQL(java.lang.String newSql)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getQueryString
public java.lang.String getQueryString()