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 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)
-
-
-
Constructor Detail
-
CallableStatementWrapper
public CallableStatementWrapper(String template, CallableStatementWrapperFactory wrapperFactory)
-
-
Method Detail
-
call
public void call(WrapperExecuteCallback cb) throws Exception
- Specified by:
call
in interfaceStatementWrapper
- Throws:
Exception
-
executeBatch
public int[] executeBatch() throws SQLException
- Specified by:
executeBatch
in interfaceStatementWrapper
- Throws:
SQLException
-
getUpdateCount
public Integer getUpdateCount() throws SQLException
- Specified by:
getUpdateCount
in interfaceStatementWrapper
- Throws:
SQLException
-
executeStatement
public Object executeStatement() throws SQLException
- Specified by:
executeStatement
in interfaceStatementWrapper
- Throws:
SQLException
-
populateStatement
public void populateStatement(Object value, org.apache.camel.Exchange exchange) throws SQLException
- Specified by:
populateStatement
in interfaceStatementWrapper
- Throws:
SQLException
-
addBatch
public void addBatch(Object value, org.apache.camel.Exchange exchange)
- Specified by:
addBatch
in interfaceStatementWrapper
-
-