framework.db
Class SQLBatchStatement

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

public class SQLBatchStatement
extends DBStatement


Constructor Summary
SQLBatchStatement(ConnectionManager connMgr, java.lang.Object caller)
           
 
Method Summary
 void addBatch(java.lang.String sql)
           
 void close()
          StatementÀÇ close ¸¦ ±¸ÇöÇϱâ À§ÇÑ Ãß»ó ¸Þ¼Òµå
 int[] executeBatch()
           
 java.lang.String getSQL()
           
protected  java.sql.Statement getStatement()
           
 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

SQLBatchStatement

public SQLBatchStatement(ConnectionManager connMgr,
                         java.lang.Object caller)
Method Detail

addBatch

public void addBatch(java.lang.String sql)

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

executeBatch

public int[] executeBatch()
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

getSQL

public java.lang.String getSQL()

toString

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