Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.sbugs.dao
Class DAO  view DAO download DAO.java

java.lang.Object
  extended byorg.sbugs.dao.DAO

public abstract class DAO
extends java.lang.Object


Constructor Summary
DAO()
           
 
Method Summary
static void closeConnection(java.sql.Connection connection)
           
protected  void closeStatement(java.sql.Statement statement)
           
protected  java.lang.Integer getOptionalInteger(java.sql.ResultSet results, java.lang.String column)
           
protected  void setOptionalInteger(int index, java.lang.Integer value, java.sql.PreparedStatement statement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DAO

public DAO()
Method Detail

closeStatement

protected void closeStatement(java.sql.Statement statement)

setOptionalInteger

protected void setOptionalInteger(int index,
                                  java.lang.Integer value,
                                  java.sql.PreparedStatement statement)
                           throws java.sql.SQLException

getOptionalInteger

protected java.lang.Integer getOptionalInteger(java.sql.ResultSet results,
                                               java.lang.String column)
                                        throws java.sql.SQLException

closeConnection

public static void closeConnection(java.sql.Connection connection)