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 StatementWrapperExceptionpublic int[] executeBatch()
throws SQLException
executeBatch in interface StatementWrapperSQLExceptionpublic Integer getUpdateCount() throws SQLException
getUpdateCount in interface StatementWrapperSQLExceptionpublic Object executeStatement() throws SQLException
executeStatement in interface StatementWrapperSQLExceptionpublic void populateStatement(Object value, org.apache.camel.Exchange exchange) throws SQLException
populateStatement in interface StatementWrapperSQLExceptionpublic void addBatch(Object value, org.apache.camel.Exchange exchange)
addBatch in interface StatementWrapperApache Camel