Example usage for Java org.springframework.jdbc.support JdbcUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
void | closeConnection(@Nullable Connection con) Close the given JDBC Connection and ignore any thrown exception. |
void | closeResultSet(@Nullable ResultSet rs) Close the given JDBC ResultSet and ignore any thrown exception. |
void | closeStatement(@Nullable Statement stmt) Close the given JDBC Statement and ignore any thrown exception. |
String | commonDatabaseName(@Nullable String source) Extract a common name for the target database in use even if various drivers/platforms provide varying names at runtime. |
String | convertUnderscoreNameToPropertyName(@Nullable String name) Convert a column name with underscores to the corresponding property name using "camel case". |
Object | extractDatabaseMetaData(DataSource dataSource, DatabaseMetaDataCallback action) Extract database meta-data via the given DatabaseMetaDataCallback. |
T | extractDatabaseMetaData(DataSource dataSource, final String metaDataMethodName) Call the specified method on DatabaseMetaData for the given DataSource, and extract the invocation result. |
Object | getResultSetValue(ResultSet rs, int index) Retrieve a JDBC column value from a ResultSet, using the most appropriate value type. |
Object | getResultSetValue(ResultSet rs, int index, @Nullable Class> requiredType) Retrieve a JDBC column value from a ResultSet, using the specified value type. |
String | lookupColumnName(ResultSetMetaData resultSetMetaData, int columnIndex) Determine the column name to use. |
boolean | supportsBatchUpdates(Connection con) Return whether the given JDBC driver supports JDBC 2.0 batch updates. |