org.springframework.jdbc.core.metadata.CallMetaDataProvider |
Known Indirect Subclasses |
Interface specifying the API to be implemented by a class providing call metadata.
This is intended for internal use by Spring's
SimpleJdbcTemplate
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Should we bypass the return parameter with the specified name.
| |||||||||||
Provide any modification of the catalog name passed in to match the meta data currently used.
| |||||||||||
Create a default inout parameter based on the provided meta data.
| |||||||||||
Create a default in parameter based on the provided meta data.
| |||||||||||
Create a default out parameter based on the provided meta data.
| |||||||||||
Get the call parameter metadata that is currently used.
| |||||||||||
Get the java.sql.Types type for columns that return resultsets as ref cursors if this feature
is supported.
| |||||||||||
Get the name of the current user.
| |||||||||||
Initialize using the provided DatabaseMetData.
| |||||||||||
Initialize the database specific management of procedure column meta data.
| |||||||||||
Are we using the meta data for the procedure columns?
| |||||||||||
Does this database support returning resultsets as ref cursors to be retrieved with
getObject(int) for the specified column. | |||||||||||
Does this database support returning resultsets that should be retrieved with the JDBC call
getResultSet()
| |||||||||||
Does the database support the use of catalog name in procedure calls
| |||||||||||
Does the database support the use of schema name in procedure calls
| |||||||||||
Provide any modification of the catalog name passed in to match the meta data currently used.
| |||||||||||
Provide any modification of the schema name passed in to match the meta data currently used.
| |||||||||||
Provide any modification of the column name passed in to match the meta data currently used.
| |||||||||||
Provide any modification of the procedure name passed in to match the meta data currently used.
| |||||||||||
Provide any modification of the schema name passed in to match the meta data currently used.
|
Should we bypass the return parameter with the specified name. This allows the database specific implementation to skip the processing for specific results returned by the database call.
Provide any modification of the catalog name passed in to match the meta data currently used. This could include alterig the case.
Create a default inout parameter based on the provided meta data. This is used when no explicit parameter declaration has been made.
parameterName | the name of the parameter |
---|---|
meta | meta data used for this call |
Create a default in parameter based on the provided meta data. This is used when no explicit parameter declaration has been made.
parameterName | the name of the parameter |
---|---|
meta | meta data used for this call |
Create a default out parameter based on the provided meta data. This is used when no explicit parameter declaration has been made.
parameterName | the name of the parameter |
---|---|
meta | meta data used for this call |
Get the call parameter metadata that is currently used.
CallParameterMetaData
Get the java.sql.Types type for columns that return resultsets as ref cursors if this feature is supported.
Get the name of the current user. Useful for meta data lookups etc.
Initialize using the provided DatabaseMetData.
databaseMetaData | used to retrieve database specific information |
---|
SQLException | in case of initialization failure |
---|
Initialize the database specific management of procedure column meta data. This is only called for databases that are supported. This initalization can be turned off by specifying that column meta data should not be used.
databaseMetaData | used to retrieve database specific information |
---|---|
catalogName | name of catalog to use or null |
schemaName | name of schema name to use or null |
procedureName | name of the stored procedure |
SQLException | in case of initialization failure |
---|
Are we using the meta data for the procedure columns?
Does this database support returning resultsets as ref cursors to be retrieved with
getObject(int)
for the specified column.
Does this database support returning resultsets that should be retrieved with the JDBC call
getResultSet()
Does the database support the use of catalog name in procedure calls
Does the database support the use of schema name in procedure calls
Provide any modification of the catalog name passed in to match the meta data currently used. The reyurned value will be used for meta data lookups. This could include alterig the case used or providing a base catalog if mone provided.
Provide any modification of the schema name passed in to match the meta data currently used. The reyurned value will be used for meta data lookups. This could include alterig the case used or providing a base schema if mone provided.
Provide any modification of the column name passed in to match the meta data currently used. This could include altering the case.
parameterName | name of the parameter of column |
---|
Provide any modification of the procedure name passed in to match the meta data currently used. This could include alterig the case.
Provide any modification of the schema name passed in to match the meta data currently used. This could include alterig the case.