| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private String | |
| private List | |
| private String | |
| private boolean | |
| private Set | |
| protected final Log | |
| private CallMetaDataProvider | |
| private boolean | |
| private List | |
| private String | |
| private boolean | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the call string to be usedBuild the call string based on configuration and meta-data information. |
| protected String | Returns: parameter binding fragmentcall parameter parameter)Build the parameter binding fragment. |
| public SqlParameter | Returns: the appropriate SqlParameterthe name of the parameter (also used as the name of the List returned in the output) parameterName, RowMapper<?> a RowMapper implementation used to map the data returned in the result set rowMapper)Create a ReturnResultSetParameter/SqlOutParameter depending on the support provided by the JDBC driver used for the database in use. |
| public List | |
| public String | |
| public String | |
| public Set | |
| public List | |
| public String | |
| public String | |
| public String | |
| public void | initializeMetaData(DataSource
the DataSource used to retrieve meta-data dataSource)Initialize this class with meta-data from the database. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| private static String | |
| public Map | Returns: a Map containing the matched parameter names with the value taken from the inputthe input values parameterSource)Match input parameter values with the parameters declared to be used in the call. |
| public Map | Returns: a Map containing the matched parameter names with the value taken from the inputthe input values inParameters)Match input parameter values with the parameters declared to be used in the call. |
| public Map | |
| private CallMetaDataProvider | |
| public void | processParameters(List<SqlParameter>
the list of parameters to use as a base parameters)Process the list of parameters provided, and if procedure column meta-data is used, the parameters will be matched against the meta-data information and any missing ones will be automatically included. |
| protected List | reconcileParameters(List<SqlParameter> parameters)
Reconcile the provided parameters with available meta-data and add new ones where appropriate. |
| public void | setAccessCallParameterMetaData(boolean accessCallParameterMetaData)
Specify whether call parameter meta-data should be accessed. |
| public void | |
| public void | |
| public void | setFunctionReturnName(String functionReturnName)
Specify the name used for the return value of the function. |
| public void | setLimitedInParameterNames(Set<String> limitedInParameterNames)
Specify a limited set of the |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| accessCallParameterMetaData | back to summary |
|---|---|
| private boolean accessCallParameterMetaData | |
| actualFunctionReturnName | back to summary |
|---|---|
| private String actualFunctionReturnName
| |
| callParameters | back to summary |
|---|---|
| private List<SqlParameter> callParameters | |
| catalogName | back to summary |
|---|---|
| private String catalogName
| |
| function | back to summary |
|---|---|
| private boolean function | |
| limitedInParameterNames | back to summary |
|---|---|
| private Set<String> limitedInParameterNames | |
| logger | back to summary |
|---|---|
| protected final Log logger | |
| metaDataProvider | back to summary |
|---|---|
| private CallMetaDataProvider metaDataProvider
| |
| namedBinding | back to summary |
|---|---|
| private boolean namedBinding | |
| outParameterNames | back to summary |
|---|---|
| private List<String> outParameterNames | |
| procedureName | back to summary |
|---|---|
| private String procedureName
| |
| returnValueRequired | back to summary |
|---|---|
| private boolean returnValueRequired | |
| schemaName | back to summary |
|---|---|
| private String schemaName
| |
| CallMetaDataContext | back to summary |
|---|---|
| public CallMetaDataContext() | |
| createCallString | back to summary |
|---|---|
| public String createCallString() Build the call string based on configuration and meta-data information.
| |
| createParameterBinding | back to summary |
|---|---|
| protected String createParameterBinding(SqlParameter parameter) Build the parameter binding fragment.
| |
| createReturnResultSetParameter | back to summary |
|---|---|
| public SqlParameter createReturnResultSetParameter(String parameterName, RowMapper<?> rowMapper) Create a ReturnResultSetParameter/SqlOutParameter depending on the support provided by the JDBC driver used for the database in use.
| |
| getCallParameters | back to summary |
|---|---|
| public List Get the List of SqlParameter objects to be used in call execution. | |
| getCatalogName | back to summary |
|---|---|
| public String getCatalogName() Get the name of the catalog.
| |
| getFunctionReturnName | back to summary |
|---|---|
| public String getFunctionReturnName() Get the name used for the return value of the function. | |
| getLimitedInParameterNames | back to summary |
|---|---|
| public Set Get the limited set of the | |
| getOutParameterNames | back to summary |
|---|---|
| public List Get the list of the | |
| getProcedureName | back to summary |
|---|---|
| public String getProcedureName() Get the name of the procedure.
| |
| getScalarOutParameterName | back to summary |
|---|---|
| public String getScalarOutParameterName() Get the name of the single out parameter for this call. If there are multiple parameters, the name of the first one will be returned.
| |
| getSchemaName | back to summary |
|---|---|
| public String getSchemaName() Get the name of the schema.
| |
| initializeMetaData | back to summary |
|---|---|
| public void initializeMetaData(DataSource dataSource) Initialize this class with meta-data from the database.
| |
| isAccessCallParameterMetaData | back to summary |
|---|---|
| public boolean isAccessCallParameterMetaData() Check whether call parameter meta-data should be accessed. | |
| isFunction | back to summary |
|---|---|
| public boolean isFunction() Check whether this call is a function call. | |
| isNamedBinding | back to summary |
|---|---|
| public boolean isNamedBinding() Check whether parameters should be bound by name.
| |
| isReturnValueRequired | back to summary |
|---|---|
| public boolean isReturnValueRequired() Check whether a return value is required. | |
| lowerCase | back to summary |
|---|---|
| private static String lowerCase(String paramName) | |
| matchInParameterValuesWithCallParameters | back to summary |
|---|---|
| public Map Match input parameter values with the parameters declared to be used in the call.
| |
| matchInParameterValuesWithCallParameters | back to summary |
|---|---|
| public Map Match input parameter values with the parameters declared to be used in the call. | |
| matchInParameterValuesWithCallParameters | back to summary |
|---|---|
| public Map | |
| obtainMetaDataProvider | back to summary |
|---|---|
| private CallMetaDataProvider obtainMetaDataProvider() | |
| processParameters | back to summary |
|---|---|
| public void processParameters(List<SqlParameter> parameters) Process the list of parameters provided, and if procedure column meta-data is used, the parameters will be matched against the meta-data information and any missing ones will be automatically included.
| |
| reconcileParameters | back to summary |
|---|---|
| protected List Reconcile the provided parameters with available meta-data and add new ones where appropriate. | |
| setAccessCallParameterMetaData | back to summary |
|---|---|
| public void setAccessCallParameterMetaData(boolean accessCallParameterMetaData) Specify whether call parameter meta-data should be accessed. | |
| setCatalogName | back to summary |
|---|---|
| public void setCatalogName(String catalogName) Specify the name of the catalog. | |
| setFunction | back to summary |
|---|---|
| public void setFunction(boolean function) Specify whether this call is a function call. | |
| setFunctionReturnName | back to summary |
|---|---|
| public void setFunctionReturnName(String functionReturnName) Specify the name used for the return value of the function. | |
| setLimitedInParameterNames | back to summary |
|---|---|
| public void setLimitedInParameterNames(Set<String> limitedInParameterNames) Specify a limited set of the | |
| setNamedBinding | back to summary |
|---|---|
| public void setNamedBinding(boolean namedBinding) Specify whether parameters should be bound by name.
| |
| setOutParameterNames | back to summary |
|---|---|
| public void setOutParameterNames(List<String> outParameterNames) Specify the names of the | |
| setProcedureName | back to summary |
|---|---|
| public void setProcedureName(String procedureName) Specify the name of the procedure. | |
| setReturnValueRequired | back to summary |
|---|---|
| public void setReturnValueRequired(boolean returnValueRequired) Specify whether a return value is required. | |
| setSchemaName | back to summary |
|---|---|
| public void setSchemaName(String schemaName) Specify the name of the schema. | |