public class OracleStatementCreator extends java.lang.Object implements CallableStatementCreator
In the adapter configuration file this class is aliased as oracle-statement-creator which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
OracleStatementCreator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createCall(java.lang.String procedureName,
int parameterCount)
Creates a String of
begin ? := procedureName(?,?,?,?,?); end; which should be suitable for Oracle databases. |
public java.lang.String createCall(java.lang.String procedureName, int parameterCount)
begin ? := procedureName(?,?,?,?,?); end;
which should be suitable for Oracle databases.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)