|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.connector.hl7.framework.persist.connection.AbstractDBConnection
com.stc.connector.hl7.framework.persist.connection.impl.TestDBConnImpl
public class TestDBConnImpl
DOCUMENT ME!
Field Summary | |
---|---|
static int |
SUCCESSFUL_EXIT_ID
|
Fields inherited from class com.stc.connector.hl7.framework.persist.connection.AbstractDBConnection |
---|
BATCH_DML_ERROR, DML_ERROR |
Constructor Summary | |
---|---|
TestDBConnImpl(AbstractDBConnection conn)
Creates a new instance of TestDBConnImpl |
Method Summary | |
---|---|
void |
delete(DBObject obj)
|
void |
delete(java.util.List objs)
|
void |
endTx()
|
java.sql.ResultSet |
get(java.lang.String query,
java.util.List vals)
executes query |
java.sql.ResultSet |
getRow(DBObject obj)
executes query |
java.sql.Connection |
getUnderlyingConnection()
A handle to the undelying JDBC connection |
void |
insert(DBObject obj)
insert new row to database |
void |
insert(java.util.List objs)
|
int |
update(DBObject obj)
executes database update |
void |
update(java.util.List objs)
|
Methods inherited from class com.stc.connector.hl7.framework.persist.connection.AbstractDBConnection |
---|
batchDelete, batchInsert, batchUpdate, executeUpdateOrDelete |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SUCCESSFUL_EXIT_ID
Constructor Detail |
---|
public TestDBConnImpl(AbstractDBConnection conn) throws java.sql.SQLException
conn
- jdbc connection
java.sql.SQLException
- SQLExceptionMethod Detail |
---|
public void insert(DBObject obj) throws java.sql.SQLException
insert
in class AbstractDBConnection
obj
- DBObject
java.sql.SQLException
- SQLExceptionpublic void insert(java.util.List objs) throws java.sql.SQLException
insert
in class AbstractDBConnection
objs
- Listjava.sql.SQLException
- SQLExceptioncom.sun.jbi.engine.bpel.core.bpel.connection.DBConnection#insert(java.util.List)
public int update(DBObject obj) throws java.sql.SQLException
update
in class AbstractDBConnection
obj
- DBObject
java.sql.SQLException
- SQLExceptionpublic void update(java.util.List objs) throws java.sql.SQLException
update
in class AbstractDBConnection
objs
- Listjava.sql.SQLException
- SQLExceptioncom.sun.jbi.engine.bpel.core.bpel.connection.DBConnection#update(java.util.List)
public void delete(DBObject obj) throws java.sql.SQLException
delete
in class AbstractDBConnection
obj
- DBObject
java.sql.SQLException
- SQLExceptionDBConnection#delete(com.sun.jbi.engine.bpel.core.bpel.dbo.DBObject)
public void delete(java.util.List objs) throws java.sql.SQLException
delete
in class AbstractDBConnection
objs
- Listjava.sql.SQLException
- SQLExceptioncom.sun.jbi.engine.bpel.core.bpel.connection.DBConnection#delete(java.util.List)
public java.sql.ResultSet get(java.lang.String query, java.util.List vals) throws java.sql.SQLException
AbstractDBConnection
get
in class AbstractDBConnection
query
- query preparedstatement stringvals
- values to be bound to query string
java.sql.SQLException
- SQLExceptioncom.sun.jbi.engine.bpel.core.bpel.connection.DBConnection#get(java.lang.String,
java.util.List)
public java.sql.ResultSet getRow(DBObject obj) throws java.sql.SQLException
AbstractDBConnection
getRow
in class AbstractDBConnection
java.sql.SQLException
- SQLExceptioncom.sun.jbi.engine.bpel.core.bpel.connection.DBConnection#getRow(com.sun.jbi.engine.bpel.core.bpel.dbo.DBObject)
public java.sql.Connection getUnderlyingConnection()
AbstractDBConnection
getUnderlyingConnection
in class AbstractDBConnection
com.sun.jbi.engine.bpel.core.bpel.connection.impl.AbstractDBConnectionImpl#getUnderlyingConnection()
public void endTx()
|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |