public class CallableStatementWrapper extends Object implements StatementWrapper
Constructor and Description |
---|
CallableStatementWrapper(String template,
CallableStatementWrapperFactory wrapperFactory) |
Modifier and Type | Method and Description |
---|---|
void |
addBatch(Object value,
org.apache.camel.Exchange exchange) |
void |
call(WrapperExecuteCallback cb) |
int[] |
executeBatch() |
Object |
executeStatement() |
Integer |
getUpdateCount() |
void |
populateStatement(Object value,
org.apache.camel.Exchange exchange) |
public CallableStatementWrapper(String template, CallableStatementWrapperFactory wrapperFactory)
public void call(WrapperExecuteCallback cb) throws Exception
call
in interface StatementWrapper
Exception
public int[] executeBatch() throws SQLException
executeBatch
in interface StatementWrapper
SQLException
public Integer getUpdateCount() throws SQLException
getUpdateCount
in interface StatementWrapper
SQLException
public Object executeStatement() throws SQLException
executeStatement
in interface StatementWrapper
SQLException
public void populateStatement(Object value, org.apache.camel.Exchange exchange) throws SQLException
populateStatement
in interface StatementWrapper
SQLException
public void addBatch(Object value, org.apache.camel.Exchange exchange)
addBatch
in interface StatementWrapper
Apache Camel