framework.db
Class DBStatement

java.lang.Object
  extended by framework.db.DBStatement
Direct Known Subclasses:
SQLBatchPreparedStatement, SQLBatchStatement, SQLPreparedStatement, SQLStatement

public abstract class DBStatement
extends java.lang.Object

¸ðµç SQL ¹®ÀåÀ» ó¸®Çϴ Ŭ·¡½º°¡ »ó¼Ó¹Þ¾Æ¾ß ÇÒ Ãß»óŬ·¡½ºÀÌ´Ù.


Constructor Summary
DBStatement()
           
 
Method Summary
abstract  void close()
          StatementÀÇ close ¸¦ ±¸ÇöÇϱâ À§ÇÑ Ãß»ó ¸Þ¼Òµå
protected  org.apache.commons.logging.Log getLogger()
          DBStatement ·Î°Å°´Ã¼¸¦ ¸®ÅÏÇÑ´Ù.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBStatement

public DBStatement()
Method Detail

close

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

Throws:
java.sql.SQLException

getLogger

protected org.apache.commons.logging.Log getLogger()
DBStatement ·Î°Å°´Ã¼¸¦ ¸®ÅÏÇÑ´Ù. ¸ðµç ·Î±×´Â ÇØ´ç ·Î°Å¸¦ ÀÌ¿ëÇØ¼­ Ãâ·ÂÇÏ¿©¾ß ÇÑ´Ù.
ex1) ¿¡·¯ Á¤º¸¸¦ Ãâ·ÂÇÒ °æ¿ì => getLogger().error("...¿¡·¯¸Þ½ÃÁö³»¿ë")
ex2) µð¹ö±× Á¤º¸¸¦ Ãâ·ÂÇÒ °æ¿ì => getLogger().debug("...µð¹ö±×¸Þ½ÃÁö³»¿ë")

Returns:
DBStatementÀÇ ·Î°Å°´Ã¼