Java org.springframework.jdbc.support JdbcUtils fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.jdbc.support JdbcUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.jdbc.support JdbcUtils.

The text is from its open source code.

Method

voidcloseConnection(@Nullable Connection con)
Close the given JDBC Connection and ignore any thrown exception.
voidcloseResultSet(@Nullable ResultSet rs)
Close the given JDBC ResultSet and ignore any thrown exception.
voidcloseStatement(@Nullable Statement stmt)
Close the given JDBC Statement and ignore any thrown exception.
StringcommonDatabaseName(@Nullable String source)
Extract a common name for the target database in use even if various drivers/platforms provide varying names at runtime.
StringconvertUnderscoreNameToPropertyName(@Nullable String name)
Convert a column name with underscores to the corresponding property name using "camel case".
ObjectextractDatabaseMetaData(DataSource dataSource, DatabaseMetaDataCallback action)
Extract database meta-data via the given DatabaseMetaDataCallback.
TextractDatabaseMetaData(DataSource dataSource, final String metaDataMethodName)
Call the specified method on DatabaseMetaData for the given DataSource, and extract the invocation result.
ObjectgetResultSetValue(ResultSet rs, int index)
Retrieve a JDBC column value from a ResultSet, using the most appropriate value type.
ObjectgetResultSetValue(ResultSet rs, int index, @Nullable Class requiredType)
Retrieve a JDBC column value from a ResultSet, using the specified value type.
StringlookupColumnName(ResultSetMetaData resultSetMetaData, int columnIndex)
Determine the column name to use.
booleansupportsBatchUpdates(Connection con)
Return whether the given JDBC driver supports JDBC 2.0 batch updates.