24
24
25
25
/**
26
26
* Interface specifying the API to be implemented by a class providing call metadata.
27
- * This is intended for internal use by Spring's
27
+ *
28
+ * <p>This is intended for internal use by Spring's
28
29
* {@link org.springframework.jdbc.core.simple.SimpleJdbcCall}.
29
30
*
30
31
* @author Thomas Risberg
@@ -74,15 +75,15 @@ void initializeWithProcedureColumnMetaData(
74
75
75
76
/**
76
77
* Provide any modification of the catalog name passed in to match the meta data currently used.
77
- * The returned value will be used for meta data lookups. This could include altering the case used
78
- * or providing a base catalog if none is provided.
78
+ * The returned value will be used for meta data lookups. This could include altering the case
79
+ * used or providing a base catalog if none is provided.
79
80
*/
80
81
String metaDataCatalogNameToUse (String catalogName ) ;
81
82
82
83
/**
83
84
* Provide any modification of the schema name passed in to match the meta data currently used.
84
- * The returned value will be used for meta data lookups. This could include altering the case used
85
- * or providing a base schema if none is provided.
85
+ * The returned value will be used for meta data lookups. This could include altering the case
86
+ * used or providing a base schema if none is provided.
86
87
*/
87
88
String metaDataSchemaNameToUse (String schemaName ) ;
88
89
@@ -94,53 +95,53 @@ void initializeWithProcedureColumnMetaData(
94
95
String parameterNameToUse (String parameterName );
95
96
96
97
/**
97
- * Create a default out parameter based on the provided meta data. This is used when no
98
- * explicit parameter declaration has been made.
98
+ * Create a default out parameter based on the provided meta data.
99
+ * This is used when no explicit parameter declaration has been made.
99
100
* @param parameterName the name of the parameter
100
101
* @param meta meta data used for this call
101
102
* @return the configured SqlOutParameter
102
103
*/
103
104
SqlParameter createDefaultOutParameter (String parameterName , CallParameterMetaData meta );
104
105
105
106
/**
106
- * Create a default inout parameter based on the provided meta data. This is used when no
107
- * explicit parameter declaration has been made.
107
+ * Create a default inout parameter based on the provided meta data.
108
+ * This is used when no explicit parameter declaration has been made.
108
109
* @param parameterName the name of the parameter
109
110
* @param meta meta data used for this call
110
111
* @return the configured SqlInOutParameter
111
112
*/
112
113
SqlParameter createDefaultInOutParameter (String parameterName , CallParameterMetaData meta );
113
114
114
115
/**
115
- * Create a default in parameter based on the provided meta data. This is used when no
116
- * explicit parameter declaration has been made.
116
+ * Create a default in parameter based on the provided meta data.
117
+ * This is used when no explicit parameter declaration has been made.
117
118
* @param parameterName the name of the parameter
118
119
* @param meta meta data used for this call
119
120
* @return the configured SqlParameter
120
121
*/
121
122
SqlParameter createDefaultInParameter (String parameterName , CallParameterMetaData meta );
122
123
123
124
/**
124
- * Get the name of the current user. Useful for meta data lookups etc.
125
+ * Get the name of the current user. Useful for meta data lookups etc.
125
126
* @return current user name from database connection
126
127
*/
127
128
String getUserName ();
128
129
129
130
/**
130
- * Does this database support returning resultsets that should be retrieved with the JDBC call
131
+ * Does this database support returning ResultSets that should be retrieved with the JDBC call.
131
132
* {@link java.sql.Statement#getResultSet()}
132
133
*/
133
134
boolean isReturnResultSetSupported ();
134
135
135
136
/**
136
- * Does this database support returning resultsets as ref cursors to be retrieved with
137
+ * Does this database support returning ResultSets as ref cursors to be retrieved with
137
138
* {@link java.sql.CallableStatement#getObject(int)} for the specified column.
138
139
*/
139
140
boolean isRefCursorSupported ();
140
141
141
142
/**
142
- * Get the {@link java.sql.Types} type for columns that return resultsets as ref cursors if this feature
143
- * is supported.
143
+ * Get the {@link java.sql.Types} type for columns that return ResultSets as ref cursors
144
+ * if this feature is supported.
144
145
*/
145
146
int getRefCursorSqlType ();
146
147
0 commit comments