|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.synchronoss.cpo.jdbc.JdbcCpoAdapter
org.synchronoss.cpo.jdbc.JdbcCpoTrxAdapter
public class JdbcCpoTrxAdapter
Field Summary |
---|
Fields inherited from interface org.synchronoss.cpo.CpoAdapter |
---|
CREATE, DELETE, EXECUTE, EXIST, INSERT, LIST, PERSIST, RETRIEVE, UPDATE |
Constructor Summary | |
---|---|
protected |
JdbcCpoTrxAdapter(javax.sql.DataSource metaSource,
java.lang.String metaSourceName,
java.sql.Connection c,
boolean batchSupported,
java.lang.String dbTablePrefix)
|
Method Summary | |
---|---|
protected void |
clearConnectionBusy(java.sql.Connection c)
|
void |
close()
Closes the current transaction behind the CpoTrxAdapter. |
void |
commit()
Commits the current transaction behind the CpoTrxAdapter |
protected void |
finalize()
DOCUMENT ME! |
protected java.sql.Connection |
getStaticConnection()
|
boolean |
isClosed()
Returns true if the TrxAdapter has been closed, false if it is still active |
protected boolean |
isConnectionBusy(java.sql.Connection c)
|
protected boolean |
isStaticConnection(java.sql.Connection c)
|
void |
rollback()
Rollback the current transaction behind the CpoTrxAdapter |
protected void |
setConnectionBusy(java.sql.Connection c)
|
protected void |
setStaticConnection(java.sql.Connection c)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected JdbcCpoTrxAdapter(javax.sql.DataSource metaSource, java.lang.String metaSourceName, java.sql.Connection c, boolean batchSupported, java.lang.String dbTablePrefix) throws CpoException
CpoException
Method Detail |
---|
public void commit() throws CpoException
CpoTrxAdapter
commit
in interface CpoTrxAdapter
CpoException
public void rollback() throws CpoException
CpoTrxAdapter
rollback
in interface CpoTrxAdapter
CpoException
public boolean isClosed() throws CpoException
CpoTrxAdapter
isClosed
in interface CpoTrxAdapter
CpoException
public void close() throws CpoException
CpoTrxAdapter
close
in interface CpoTrxAdapter
CpoException
protected void finalize()
finalize
in class java.lang.Object
protected java.sql.Connection getStaticConnection() throws CpoException
getStaticConnection
in class JdbcCpoAdapter
CpoException
protected boolean isStaticConnection(java.sql.Connection c)
isStaticConnection
in class JdbcCpoAdapter
protected void setStaticConnection(java.sql.Connection c)
setStaticConnection
in class JdbcCpoAdapter
protected boolean isConnectionBusy(java.sql.Connection c)
isConnectionBusy
in class JdbcCpoAdapter
protected void setConnectionBusy(java.sql.Connection c)
setConnectionBusy
in class JdbcCpoAdapter
protected void clearConnectionBusy(java.sql.Connection c)
clearConnectionBusy
in class JdbcCpoAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |