|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.ei.txnhandler.connector.jdbcconnector.JDBCConnection
JDBCConnection is an implementation of the interface EConnection. It represents an application-level handle that is used by a client such as EJB to access a database. The actual physical connection associated with a JDBCConnection instance is represented by a JDBCConnectionConnection instance.
A client gets a JDBCConnection instance by using the getConnection method on a JDBCConnectionFactory instance.
Field Summary | |
static java.lang.String |
CONNECTOR_NAME
|
Constructor Summary | |
JDBCConnection()
JDBCConnection constructor without arguments. |
|
JDBCConnection(JDBCManagedConnection jdbcmanagedconnection)
JDBCConnection constructor with a Managed Connection as an argument. |
Method Summary | |
void |
close()
This method informs ManagedConnection the connection is closed from this class. |
java.util.Vector |
makeSQLQuery(java.sql.Connection con,
java.lang.String sqlString)
This method is used to do a database query |
java.util.Vector |
makeSQLUpdate(java.sql.Connection con,
java.lang.String sqlString)
This method is used to preform an database update |
java.lang.Object |
post(java.lang.Object obj)
This method is where the request gets passed to the Database. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String CONNECTOR_NAME
Constructor Detail |
public JDBCConnection()
public JDBCConnection(JDBCManagedConnection jdbcmanagedconnection)
jdbcmanagedconnection
- a JDBCManagedConnectionMethod Detail |
public void close()
close
in interface EConnection
public java.util.Vector makeSQLQuery(java.sql.Connection con, java.lang.String sqlString) throws java.lang.Exception
con
- a JDBC ConnectionsqlString
- a String containing the sql command
java.lang.Exception
public java.util.Vector makeSQLUpdate(java.sql.Connection con, java.lang.String sqlString) throws java.lang.Exception
con
- a JDBC ConnectionsqlString
- a String containing the sql command
java.lang.Exception
public java.lang.Object post(java.lang.Object obj) throws ProcessingErrorException
post
in interface EConnection
obj
- An object representing a transaction that will be forwarded on to
the host system by the Connector imnplementation.
ProcessingErrorException
- if an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |