public class JdbcCpoTrxAdapter extends JdbcCpoAdapter implements CpoTrxAdapter
CpoBaseAdapter.RetrieverThread<T,C>CREATE, CREATE_GROUP, DELETE, DELETE_GROUP, EXECUTE, EXECUTE_GROUP, EXIST, EXIST_GROUP, GROUP_IDS, INSERT, LIST, LIST_GROUP, PERSIST, PERSIST_GROUP, RETRIEVE, RETRIEVE_GROUP, UPDATE, UPDATE_GROUP| Modifier | Constructor and Description |
|---|---|
protected |
JdbcCpoTrxAdapter(JdbcCpoMetaDescriptor metaDescriptor,
Connection c,
boolean batchSupported,
String dataSourceName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearConnectionBusy(Connection c) |
void |
close() |
void |
commit() |
protected void |
finalize()
DOCUMENT ME!
|
protected Connection |
getStaticConnection() |
boolean |
isClosed() |
protected boolean |
isConnectionBusy(Connection c) |
protected boolean |
isStaticConnection(Connection c) |
void |
rollback() |
protected void |
setConnectionBusy(Connection c) |
protected void |
setStaticConnection(Connection c) |
closeConnection, commitConnection, deleteObject, deleteObject, deleteObject, deleteObjects, deleteObjects, deleteObjects, executeObject, executeObject, executeObject, existsObject, existsObject, existsObject, existsObject, getContext, getCpoAttributes, getCpoMetaDescriptor, getCpoTrxAdapter, getGroupType, getInstance, getInstance, getReadConnection, getWriteConnection, insertObject, insertObject, insertObject, insertObjects, insertObjects, insertObjects, newOrderBy, newOrderBy, newOrderBy, newOrderBy, newWhere, newWhere, newWhere, persistObject, persistObject, persistObjects, persistObjects, processBatchUpdateGroup, processExecuteGroup, processExecuteGroup, processSelectGroup, processSelectGroup, processSelectGroup, processSelectGroup, processSelectGroup, processUpdateGroup, processUpdateGroup, processUpdateGroup, processUpdateGroup, retrieveBean, retrieveBean, retrieveBean, retrieveBean, retrieveBean, retrieveBeans, retrieveBeans, retrieveBeans, retrieveBeans, retrieveBeans, retrieveBeans, retrieveBeans, retrieveBeans, retrieveBeans, rollbackConnection, setContext, updateObject, updateObject, updateObject, updateObjects, updateObjects, updateObjectsgetDataSourceName, getReadDataSource, getWriteDataSource, setDataSourceName, setReadDataSource, setWriteDataSourceaddCpoAdapter, findCpoAdapterclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteObject, deleteObject, deleteObject, deleteObjects, deleteObjects, deleteObjects, executeObject, executeObject, executeObject, existsObject, existsObject, existsObject, getCpoAttributes, getCpoMetaDescriptor, getCpoTrxAdapter, getDataSourceName, insertObject, insertObject, insertObject, insertObjects, insertObjects, insertObjects, newOrderBy, newOrderBy, newOrderBy, newOrderBy, newWhere, newWhere, newWhere, persistObject, persistObject, persistObjects, persistObjects, retrieveBean, retrieveBean, retrieveBean, retrieveBean, retrieveBean, retrieveBeans, retrieveBeans, retrieveBeans, retrieveBeans, retrieveBeans, retrieveBeans, retrieveBeans, retrieveBeans, retrieveBeans, updateObject, updateObject, updateObject, updateObjects, updateObjects, updateObjectsprotected JdbcCpoTrxAdapter(JdbcCpoMetaDescriptor metaDescriptor, Connection c, boolean batchSupported, String dataSourceName) throws CpoException
CpoExceptionpublic void commit()
throws CpoException
commit in interface CpoTrxAdapterCpoExceptionpublic void rollback()
throws CpoException
rollback in interface CpoTrxAdapterCpoExceptionpublic boolean isClosed()
throws CpoException
isClosed in interface CpoTrxAdapterCpoExceptionpublic void close()
throws CpoException
close in interface AutoCloseableclose in interface CpoTrxAdapterCpoExceptionprotected Connection getStaticConnection() throws CpoException
getStaticConnection in class JdbcCpoAdapterCpoExceptionprotected boolean isStaticConnection(Connection c)
isStaticConnection in class JdbcCpoAdapterprotected void setStaticConnection(Connection c)
setStaticConnection in class JdbcCpoAdapterprotected boolean isConnectionBusy(Connection c)
isConnectionBusy in class JdbcCpoAdapterprotected void setConnectionBusy(Connection c)
setConnectionBusy in class JdbcCpoAdapterprotected void clearConnectionBusy(Connection c)
clearConnectionBusy in class JdbcCpoAdapterCopyright © 2014. All Rights Reserved.