|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectorg.synchronoss.cpo.jdbc.JdbcCallableStatementFactory
public class JdbcCallableStatementFactory
JdbcCallableStatementFactory is the object that encapsulates the creation of the actual CallableStatement for the JDBC driver.
| Constructor Summary | |
|---|---|
JdbcCallableStatementFactory(java.sql.Connection conn,
JdbcCpoAdapter jca,
JdbcQuery jq,
java.lang.Object obj)
Used to build the CallableStatement that is used by CPO to create the actual JDBC CallableStatement. |
|
| Method Summary | |
|---|---|
void |
AddReleasible(CpoReleasible releasible)
Adds a releasible object to this object. |
java.sql.CallableStatement |
getCallableStatement()
returns the jdbc callable statment associated with this object |
java.util.ArrayList<JdbcParameter> |
getOutParameters()
returns the Out parameters from the callable statement |
void |
release()
Called by the CPO framework. |
protected void |
setCallableStatement(java.sql.CallableStatement cs)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JdbcCallableStatementFactory(java.sql.Connection conn,
JdbcCpoAdapter jca,
JdbcQuery jq,
java.lang.Object obj)
throws CpoException
conn - The actual jdbc connection that will be used to create the callable statement.jca - The JdbcCpoAdapter that is controlling this transactionjq - The JdbcQuery that is being executedobj - The pojo that is being acted upon
CpoException - if a CPO error occurs
java.sql.SQLException - if a JDBC error occurs| Method Detail |
|---|
public java.sql.CallableStatement getCallableStatement()
protected void setCallableStatement(java.sql.CallableStatement cs)
public java.util.ArrayList<JdbcParameter> getOutParameters()
public void AddReleasible(CpoReleasible releasible)
public void release()
throws CpoException
release
on all the CpoReleasible associated with this object
release in interface CpoReleasibleCpoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||