public class DefaultStatementCreator extends java.lang.Object implements CallableStatementCreator
In the adapter configuration file this class is aliased as default-statement-creator which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
DefaultStatementCreator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createCall(java.lang.String procedureName,
int parameterCount)
Creates a String of
{ CALL my_stored_procedure(?, ?, ?); } |
public java.lang.String createCall(java.lang.String procedureName, int parameterCount)
{ CALL my_stored_procedure(?, ?, ?); }
createCall
in interface CallableStatementCreator
procedureName
- the procedure nameparameterCount
- The number of parameters for this stored procedure call.{ CALL my_stored_procedure(?, ?, ?); }
depending on the database.CallableStatementCreator.createCall(java.lang.String, int)