java.lang.Object | |
↳ | org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider |
Known Direct Subclasses |
Generic implementation for the CallMetaDataProvider
interface.
This class can be extended to provide database specific behavior.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
logger | Logger available to subclasses |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor used to initialize with provided database meta data.
|
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.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Does the database use lower case for identifiers
| |||||||||||
Does the database use upper case for identifiers
| |||||||||||
Specify whether the database uses lower case for identifiers
| |||||||||||
Specify whether the database uses upper case for identifiers
| |||||||||||
Specify whether the database supports the use of catalog name in procedure calls
| |||||||||||
Specify whether the database supports the use of schema name in procedure calls
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.jdbc.core.metadata.CallMetaDataProvider
|
Logger available to subclasses
Constructor used to initialize with provided database meta data.
databaseMetaData | meta data to be used |
---|
SQLException |
---|
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 |
---|
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 |
---|
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.
Does the database use lower case for identifiers
Does the database use upper case for identifiers
Specify whether the database uses lower case for identifiers
Specify whether the database uses upper case for identifiers
Specify whether the database supports the use of catalog name in procedure calls
Specify whether the database supports the use of schema name in procedure calls