org.jboss.soa.esb.helpers.persist
Class JdbcCleanConn
java.lang.Object
org.jboss.soa.esb.helpers.persist.JdbcCleanConn
public class JdbcCleanConn
- extends java.lang.Object
Field Summary |
protected org.apache.log4j.Logger |
m_oLogger
|
protected java.util.List<java.sql.PreparedStatement> |
m_olPrepSt
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_olPrepSt
protected java.util.List<java.sql.PreparedStatement> m_olPrepSt
m_oLogger
protected org.apache.log4j.Logger m_oLogger
JdbcCleanConn
public JdbcCleanConn(javax.sql.DataSource p_oDS)
JdbcCleanConn
public JdbcCleanConn(javax.sql.DataSource p_oDS,
boolean transactional)
commit
public void commit()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
rollback
public void rollback()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getStatements
public java.util.List<java.sql.PreparedStatement> getStatements()
release
public void release()
prepareStatement
public java.sql.PreparedStatement prepareStatement(java.lang.String p_sSt,
int p_i1,
int p_i2)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
prepareStatement
public java.sql.PreparedStatement prepareStatement(java.lang.String p_sSt)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
execQueryWait
public java.sql.ResultSet execQueryWait(java.sql.PreparedStatement p_PS,
int p_iQtry)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
execUpdWait
public int execUpdWait(java.sql.PreparedStatement p_PS,
int p_iQtry)
throws java.sql.SQLException
- Throws:
java.sql.SQLException