Class CallableStatementWrapper
- java.lang.Object
-
- org.apache.camel.component.sql.stored.CallableStatementWrapper
-
- All Implemented Interfaces:
StatementWrapper
public class CallableStatementWrapper extends Object implements StatementWrapper
-
-
Constructor Summary
Constructors Constructor Description CallableStatementWrapper(String template, CallableStatementWrapperFactory wrapperFactory)
-
Method Summary
All Methods Instance Methods Concrete 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)
-
-
-
Constructor Detail
-
CallableStatementWrapper
public CallableStatementWrapper(String template, CallableStatementWrapperFactory wrapperFactory)
-
-
Method Detail
-
call
public void call(WrapperExecuteCallback cb) throws Exception
- Specified by:
callin interfaceStatementWrapper- Throws:
Exception
-
executeBatch
public int[] executeBatch() throws SQLException- Specified by:
executeBatchin interfaceStatementWrapper- Throws:
SQLException
-
getUpdateCount
public Integer getUpdateCount() throws SQLException
- Specified by:
getUpdateCountin interfaceStatementWrapper- Throws:
SQLException
-
executeStatement
public Object executeStatement() throws SQLException
- Specified by:
executeStatementin interfaceStatementWrapper- Throws:
SQLException
-
populateStatement
public void populateStatement(Object value, org.apache.camel.Exchange exchange) throws SQLException
- Specified by:
populateStatementin interfaceStatementWrapper- Throws:
SQLException
-
addBatch
public void addBatch(Object value, org.apache.camel.Exchange exchange)
- Specified by:
addBatchin interfaceStatementWrapper
-
-