Interface StatementWrapper
-
- All Known Implementing Classes:
CallableStatementWrapper
public interface StatementWrapperWrapper that simplifies operations onCallableStatementinSqlStoredProducer. Wrappers are stateful objects and must not be reused.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddBatch(Object value, org.apache.camel.Exchange exchange)voidcall(WrapperExecuteCallback cb)int[]executeBatch()ObjectexecuteStatement()IntegergetUpdateCount()voidpopulateStatement(Object value, org.apache.camel.Exchange exchange)
-
-
-
Method Detail
-
call
void call(WrapperExecuteCallback cb) throws Exception
- Throws:
Exception
-
executeBatch
int[] executeBatch() throws SQLException- Throws:
SQLException
-
getUpdateCount
Integer getUpdateCount() throws SQLException
- Throws:
SQLException
-
executeStatement
Object executeStatement() throws SQLException
- Throws:
SQLException
-
populateStatement
void populateStatement(Object value, org.apache.camel.Exchange exchange) throws SQLException
- Throws:
SQLException
-
addBatch
void addBatch(Object value, org.apache.camel.Exchange exchange)
-
-