IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.bc.ej.dao.jdbc
Class JdbcDAOBase

java.lang.Object
  extended by com.ibm.btt.bc.ej.dao.EJDAOAbstract
      extended by com.ibm.btt.bc.ej.dao.jdbc.JdbcDAOBase
All Implemented Interfaces:
EJDAO
Direct Known Subclasses:
EJDAOJdbcImpl

public abstract class JdbcDAOBase
extends EJDAOAbstract

Abstract JDBC DAO class. Provide common bean property for JDBC DAO and provide base jdbc operation implementation


Field Summary
(package private)  javax.naming.InitialContext ctx
           
static java.lang.String DefaultEJ_TABLE_NAME
           
protected  java.lang.String tableName
           
 
Fields inherited from class com.ibm.btt.bc.ej.dao.EJDAOAbstract
connectionPool, eJInstID, userDefinedFieldsDesc
 
Constructor Summary
JdbcDAOBase()
           
 
Method Summary
 void close()
           
 boolean execute(java.lang.String sql)
           
 java.sql.Connection getConnection()
           
 java.lang.String getTableName()
           
 void openDAOConnection()
           
 java.sql.ResultSet query(java.lang.String sql)
           
 void releaseConnection(java.sql.Connection con)
           
 void setTableName(java.lang.String tableName)
           
 int update(java.lang.String sql)
           
 
Methods inherited from class com.ibm.btt.bc.ej.dao.EJDAOAbstract
getConnectionPool, getEJInstID, getUserDefinedFieldsDesc, setConnectionPool, setEJInstID, setUserDefinedFieldsDesc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.btt.bc.ej.dao.EJDAO
closeDAOConnection, createEJRecord, findEJRecords, getEJRecordDetail, getLastRecordSeqNum, updateEJRecord
 

Field Detail

DefaultEJ_TABLE_NAME

public static final java.lang.String DefaultEJ_TABLE_NAME
See Also:
Constant Field Values

tableName

protected java.lang.String tableName

ctx

javax.naming.InitialContext ctx
Constructor Detail

JdbcDAOBase

public JdbcDAOBase()
Method Detail

openDAOConnection

public void openDAOConnection()
                       throws BTTEJDAOException
Throws:
BTTEJDAOException

getConnection

public java.sql.Connection getConnection()
                                  throws BTTEJDAOException
Throws:
BTTEJDAOException

releaseConnection

public void releaseConnection(java.sql.Connection con)
                       throws BTTEJDAOException
Throws:
BTTEJDAOException

query

public java.sql.ResultSet query(java.lang.String sql)
                         throws BTTEJDAOException
Throws:
BTTEJDAOException

execute

public boolean execute(java.lang.String sql)
                throws BTTEJDAOException
Throws:
BTTEJDAOException

update

public int update(java.lang.String sql)
           throws BTTEJDAOException
Throws:
BTTEJDAOException

close

public void close()
           throws BTTEJDAOException
Throws:
BTTEJDAOException

getTableName

public java.lang.String getTableName()

setTableName

public void setTableName(java.lang.String tableName)

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009