Interface StatementWrapper
-
- All Known Implementing Classes:
CallableStatementWrapper
public interface StatementWrapper
Wrapper that simplifies operations onCallableStatement
inSqlStoredProducer
. Wrappers are stateful objects and must not be reused.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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)
-
-
-
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)
-
-