Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- absolute(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- absolute(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Move the cursor to the given row number in the row set, just after the last row.
- AbstractColumnMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
Abstract base class for
DataFieldMaxValueIncrementer
implementations that use a column in a custom sequence table. - AbstractColumnMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.AbstractColumnMaxValueIncrementer
-
Default constructor for bean property style usage.
- AbstractColumnMaxValueIncrementer(DataSource, String, String) - Constructor for class org.springframework.jdbc.support.incrementer.AbstractColumnMaxValueIncrementer
-
Convenience constructor.
- AbstractDataFieldMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
Base implementation of
DataFieldMaxValueIncrementer
that delegates to a singleAbstractDataFieldMaxValueIncrementer.getNextKey()
template method that returns along
. - AbstractDataFieldMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
-
Default constructor for bean property style usage.
- AbstractDataFieldMaxValueIncrementer(DataSource, String) - Constructor for class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
-
Convenience constructor.
- AbstractDataSource - Class in org.springframework.jdbc.datasource
-
Abstract base class for Spring's
DataSource
implementations, taking care of the padding. - AbstractDataSource() - Constructor for class org.springframework.jdbc.datasource.AbstractDataSource
- AbstractDriverBasedDataSource - Class in org.springframework.jdbc.datasource
-
Abstract base class for JDBC
DataSource
implementations that operate on a JDBCDriver
. - AbstractDriverBasedDataSource() - Constructor for class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
- AbstractFallbackSQLExceptionTranslator - Class in org.springframework.jdbc.support
-
Base class for
SQLExceptionTranslator
implementations that allow for a fallback to some otherSQLExceptionTranslator
, as well as for custom overrides. - AbstractFallbackSQLExceptionTranslator() - Constructor for class org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator
- AbstractIdentityColumnMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
Abstract base class for
DataFieldMaxValueIncrementer
implementations which are based on identity columns in a sequence-like table. - AbstractIdentityColumnMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.AbstractIdentityColumnMaxValueIncrementer
-
Default constructor for bean property style usage.
- AbstractIdentityColumnMaxValueIncrementer(DataSource, String, String) - Constructor for class org.springframework.jdbc.support.incrementer.AbstractIdentityColumnMaxValueIncrementer
- AbstractInterruptibleBatchPreparedStatementSetter - Class in org.springframework.jdbc.core.support
-
Abstract implementation of the
InterruptibleBatchPreparedStatementSetter
interface, combining the check for available values and setting of those into a single callback methodAbstractInterruptibleBatchPreparedStatementSetter.setValuesIfAvailable(java.sql.PreparedStatement, int)
. - AbstractInterruptibleBatchPreparedStatementSetter() - Constructor for class org.springframework.jdbc.core.support.AbstractInterruptibleBatchPreparedStatementSetter
- AbstractJdbcCall - Class in org.springframework.jdbc.core.simple
-
Abstract class to provide base functionality for easy stored procedure calls based on configuration options and database meta-data.
- AbstractJdbcCall(DataSource) - Constructor for class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Constructor to be used when initializing using a
DataSource
. - AbstractJdbcCall(JdbcTemplate) - Constructor for class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Constructor to be used when initializing using a
JdbcTemplate
. - AbstractJdbcInsert - Class in org.springframework.jdbc.core.simple
-
Abstract class to provide base functionality for easy (batch) inserts based on configuration options and database meta-data.
- AbstractJdbcInsert(DataSource) - Constructor for class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Constructor to be used when initializing using a
DataSource
. - AbstractJdbcInsert(JdbcTemplate) - Constructor for class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Constructor to be used when initializing using a
JdbcTemplate
. - AbstractLobCreatingPreparedStatementCallback - Class in org.springframework.jdbc.core.support
-
Deprecated.
- AbstractLobCreatingPreparedStatementCallback(LobHandler) - Constructor for class org.springframework.jdbc.core.support.AbstractLobCreatingPreparedStatementCallback
-
Deprecated.Create a new AbstractLobCreatingPreparedStatementCallback for the given LobHandler.
- AbstractLobHandler - Class in org.springframework.jdbc.support.lob
-
Deprecated.as of 6.2, in favor of
SqlBinaryValue
andSqlCharacterValue
- AbstractLobHandler() - Constructor for class org.springframework.jdbc.support.lob.AbstractLobHandler
-
Deprecated.
- AbstractLobStreamingResultSetExtractor<T> - Class in org.springframework.jdbc.core.support
-
Deprecated.as of 6.2 along with
LobHandler
, in favor ofResultSet.getBinaryStream(int)
/ResultSet.getCharacterStream(int)
usage - AbstractLobStreamingResultSetExtractor() - Constructor for class org.springframework.jdbc.core.support.AbstractLobStreamingResultSetExtractor
-
Deprecated.
- AbstractRoutingDataSource - Class in org.springframework.jdbc.datasource.lookup
-
Abstract
DataSource
implementation that routesAbstractRoutingDataSource.getConnection()
calls to one of various target DataSources based on a lookup key. - AbstractRoutingDataSource() - Constructor for class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
- AbstractSequenceMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
Abstract base class for
DataFieldMaxValueIncrementer
implementations that use a database sequence. - AbstractSequenceMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.AbstractSequenceMaxValueIncrementer
-
Default constructor for bean property style usage.
- AbstractSequenceMaxValueIncrementer(DataSource, String) - Constructor for class org.springframework.jdbc.support.incrementer.AbstractSequenceMaxValueIncrementer
-
Convenience constructor.
- AbstractSqlParameterSource - Class in org.springframework.jdbc.core.namedparam
-
Abstract base class for
SqlParameterSource
implementations. - AbstractSqlParameterSource() - Constructor for class org.springframework.jdbc.core.namedparam.AbstractSqlParameterSource
- AbstractSqlTypeValue - Class in org.springframework.jdbc.core.support
-
Abstract implementation of the SqlTypeValue interface, for convenient creation of type values that are supposed to be passed into the
PreparedStatement.setObject
method. - AbstractSqlTypeValue() - Constructor for class org.springframework.jdbc.core.support.AbstractSqlTypeValue
- addDataSource(String, DataSource) - Method in class org.springframework.jdbc.datasource.lookup.MapDataSourceLookup
-
Add the supplied
DataSource
to the map ofDataSources
maintained by this object. - addDeclaredParameter(SqlParameter) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Add a declared parameter to the list of parameters for the call.
- addDeclaredRowMapper(String, RowMapper<?>) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Add a
RowMapper
for the specified parameter or column. - addDefaultScripts() - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Add default SQL scripts to execute to populate the database.
- addParameter(SqlParameter) - Method in class org.springframework.jdbc.core.CallableStatementCreatorFactory
-
Add a new declared parameter.
- addParameter(SqlParameter) - Method in class org.springframework.jdbc.core.PreparedStatementCreatorFactory
-
Add a new declared parameter.
- addPopulators(DatabasePopulator...) - Method in class org.springframework.jdbc.datasource.init.CompositeDatabasePopulator
-
Add one or more populators to the list of delegates.
- addScript(String) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Add an SQL script to execute to initialize or populate the database.
- addScript(Resource) - Method in class org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
-
Add a script to execute to initialize or clean up the database.
- addScripts(String...) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Add multiple SQL scripts to execute to initialize or populate the database.
- addScripts(Resource...) - Method in class org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
-
Add multiple scripts to execute to initialize or clean up the database.
- addValue(String, Object) - Method in class org.springframework.jdbc.core.namedparam.MapSqlParameterSource
-
Add a parameter to this parameter source.
- addValue(String, Object, int) - Method in class org.springframework.jdbc.core.namedparam.MapSqlParameterSource
-
Add a parameter to this parameter source.
- addValue(String, Object, int, String) - Method in class org.springframework.jdbc.core.namedparam.MapSqlParameterSource
-
Add a parameter to this parameter source.
- addValues(Map<String, ?>) - Method in class org.springframework.jdbc.core.namedparam.MapSqlParameterSource
-
Add a Map of parameters to this parameter source.
- afterLast() - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- afterLast() - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Move the cursor to the end of this row set.
- afterPropertiesSet() - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
- afterPropertiesSet() - Method in class org.springframework.jdbc.datasource.DelegatingDataSource
- afterPropertiesSet() - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactoryBean
- afterPropertiesSet() - Method in class org.springframework.jdbc.datasource.init.DataSourceInitializer
-
Use the database populator to set up the database.
- afterPropertiesSet() - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
-
Delegates to
AbstractRoutingDataSource.initialize()
. - afterPropertiesSet() - Method in class org.springframework.jdbc.object.GenericSqlQuery
- afterPropertiesSet() - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Ensures compilation if used in a bean factory.
- afterPropertiesSet() - Method in class org.springframework.jdbc.support.CustomSQLExceptionTranslatorRegistrar
- afterPropertiesSet() - Method in class org.springframework.jdbc.support.DatabaseStartupValidator
-
Check whether the validation query can be executed on a Connection from the specified DataSource, with the specified interval between checks, until the specified timeout.
- afterPropertiesSet() - Method in class org.springframework.jdbc.support.incrementer.AbstractColumnMaxValueIncrementer
- afterPropertiesSet() - Method in class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
- afterPropertiesSet() - Method in class org.springframework.jdbc.support.JdbcAccessor
-
Eagerly initialize the exception translator, if demanded, creating a default one for the specified DataSource if none set.
- afterPropertiesSet() - Method in class org.springframework.jdbc.support.JdbcTransactionManager
-
Eagerly initialize the exception translator, if demanded, creating a default one for the specified DataSource if none set.
- AggregatedBatchUpdateException - Exception Class in org.springframework.jdbc.core
-
A
BatchUpdateException
that provides additional information about batches that were successful prior to one failing. - AggregatedBatchUpdateException(int[][], BatchUpdateException) - Constructor for exception class org.springframework.jdbc.core.AggregatedBatchUpdateException
-
Create an aggregated exception with the batches that have completed prior to the given
cause
. - allowsUnusedParameters() - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Return whether this operation accepts additional parameters that are given but not actually used.
- allowsUnusedParameters() - Method in class org.springframework.jdbc.object.StoredProcedure
-
StoredProcedure parameter Maps are by default allowed to contain additional entries that are not actually used as parameters.
- applyStatementSettings(Statement) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Prepare the given JDBC Statement (or PreparedStatement or CallableStatement), applying statement settings such as fetch size, max rows, and query timeout.
- applyTimeout(Statement, DataSource, int) - Static method in class org.springframework.jdbc.datasource.DataSourceUtils
-
Apply the specified timeout - overridden by the current transaction timeout, if any - to the given JDBC Statement object.
- applyTransactionTimeout(Statement, DataSource) - Static method in class org.springframework.jdbc.datasource.DataSourceUtils
-
Apply the current transaction timeout, if any, to the given JDBC Statement object.
- ArgumentPreparedStatementSetter - Class in org.springframework.jdbc.core
-
Simple adapter for
PreparedStatementSetter
that applies a given array of arguments. - ArgumentPreparedStatementSetter(Object[]) - Constructor for class org.springframework.jdbc.core.ArgumentPreparedStatementSetter
-
Create a new
ArgumentPreparedStatementSetter
for the given arguments. - ArgumentTypePreparedStatementSetter - Class in org.springframework.jdbc.core
-
Simple adapter for
PreparedStatementSetter
that applies the given arrays of arguments and JDBC argument types. - ArgumentTypePreparedStatementSetter(Object[], int[]) - Constructor for class org.springframework.jdbc.core.ArgumentTypePreparedStatementSetter
-
Create a new
ArgumentTypePreparedStatementSetter
for the given arguments and types.
B
- BadSqlGrammarException - Exception Class in org.springframework.jdbc
-
Exception thrown when SQL specified is invalid.
- BadSqlGrammarException(String, String, SQLException) - Constructor for exception class org.springframework.jdbc.BadSqlGrammarException
-
Constructor for BadSqlGrammarException.
- BatchPreparedStatementSetter - Interface in org.springframework.jdbc.core
-
Batch update callback interface used by the
JdbcTemplate
class. - BatchSqlUpdate - Class in org.springframework.jdbc.object
-
SqlUpdate subclass that performs batch update operations.
- BatchSqlUpdate() - Constructor for class org.springframework.jdbc.object.BatchSqlUpdate
-
Constructor to allow use as a JavaBean.
- BatchSqlUpdate(DataSource, String) - Constructor for class org.springframework.jdbc.object.BatchSqlUpdate
-
Construct an update object with a given DataSource and SQL.
- BatchSqlUpdate(DataSource, String, int[]) - Constructor for class org.springframework.jdbc.object.BatchSqlUpdate
-
Construct an update object with a given DataSource, SQL and anonymous parameters.
- BatchSqlUpdate(DataSource, String, int[], int) - Constructor for class org.springframework.jdbc.object.BatchSqlUpdate
-
Construct an update object with a given DataSource, SQL, anonymous parameters and specifying the maximum number of rows that may be affected.
- batchUpdate(String...) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Issue multiple SQL updates on a single JDBC Statement using batching.
- batchUpdate(String...) - Method in class org.springframework.jdbc.core.JdbcTemplate
- batchUpdate(String, Collection<T>, int, ParameterizedPreparedStatementSetter<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute multiple batches using the supplied SQL statement with the collect of supplied arguments.
- batchUpdate(String, Collection<T>, int, ParameterizedPreparedStatementSetter<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- batchUpdate(String, List<Object[]>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a batch using the supplied SQL statement with the batch of supplied arguments.
- batchUpdate(String, List<Object[]>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- batchUpdate(String, List<Object[]>, int[]) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a batch using the supplied SQL statement with the batch of supplied arguments.
- batchUpdate(String, List<Object[]>, int[]) - Method in class org.springframework.jdbc.core.JdbcTemplate
- batchUpdate(String, Map<String, ?>[]) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Executes a batch using the supplied SQL statement with the batch of supplied arguments.
- batchUpdate(String, Map<String, ?>[]) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- batchUpdate(String, BatchPreparedStatementSetter) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Issue multiple update statements on a single PreparedStatement, using batch updates and a BatchPreparedStatementSetter to set values.
- batchUpdate(String, BatchPreparedStatementSetter) - Method in class org.springframework.jdbc.core.JdbcTemplate
- batchUpdate(String, SqlParameterSource[]) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Execute a batch using the supplied SQL statement with the batch of supplied arguments.
- batchUpdate(String, SqlParameterSource[]) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- batchUpdate(String, SqlParameterSource[], KeyHolder) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Execute a batch using the supplied SQL statement with the batch of supplied arguments, returning generated keys.
- batchUpdate(String, SqlParameterSource[], KeyHolder) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- batchUpdate(String, SqlParameterSource[], KeyHolder, String[]) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Execute a batch using the supplied SQL statement with the batch of supplied arguments, returning generated keys.
- batchUpdate(String, SqlParameterSource[], KeyHolder, String[]) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- batchUpdate(PreparedStatementCreator, BatchPreparedStatementSetter, KeyHolder) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Issue multiple update statements on a single PreparedStatement, using batch updates and a BatchPreparedStatementSetter to set values.
- batchUpdate(PreparedStatementCreator, BatchPreparedStatementSetter, KeyHolder) - Method in class org.springframework.jdbc.core.JdbcTemplate
- BeanFactoryDataSourceLookup - Class in org.springframework.jdbc.datasource.lookup
-
DataSourceLookup
implementation based on a SpringBeanFactory
. - BeanFactoryDataSourceLookup() - Constructor for class org.springframework.jdbc.datasource.lookup.BeanFactoryDataSourceLookup
-
Create a new instance of the
BeanFactoryDataSourceLookup
class. - BeanFactoryDataSourceLookup(BeanFactory) - Constructor for class org.springframework.jdbc.datasource.lookup.BeanFactoryDataSourceLookup
-
Create a new instance of the
BeanFactoryDataSourceLookup
class. - BeanPropertyRowMapper<T> - Class in org.springframework.jdbc.core
-
RowMapper
implementation that converts a row into a new instance of the specified mapped target class. - BeanPropertyRowMapper() - Constructor for class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Create a new
BeanPropertyRowMapper
for bean-style configuration. - BeanPropertyRowMapper(Class<T>) - Constructor for class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Create a new
BeanPropertyRowMapper
, accepting unpopulated properties in the target bean. - BeanPropertyRowMapper(Class<T>, boolean) - Constructor for class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Create a new
BeanPropertyRowMapper
. - BeanPropertySqlParameterSource - Class in org.springframework.jdbc.core.namedparam
-
SqlParameterSource
implementation that obtains parameter values from bean properties of a given JavaBean object. - BeanPropertySqlParameterSource(Object) - Constructor for class org.springframework.jdbc.core.namedparam.BeanPropertySqlParameterSource
-
Create a new BeanPropertySqlParameterSource for the given bean.
- beforeFirst() - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- beforeFirst() - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Move the cursor to the front of this row set, just before the first row.
- build() - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Build the embedded database.
- buildErrorMessage(String, int, EncodedResource) - Static method in exception class org.springframework.jdbc.datasource.init.ScriptStatementFailedException
-
Build an error message for an SQL script execution failure, based on the supplied arguments.
- buildMessage(String, String, SQLException) - Method in class org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator
-
Build a message
String
for the givenSQLException
. - buildSqlParameterList(ParsedSql, SqlParameterSource) - Static method in class org.springframework.jdbc.core.namedparam.NamedParameterUtils
-
Convert parameter declarations from an SqlParameterSource to a corresponding List of SqlParameters.
- buildSqlTypeArray(ParsedSql, SqlParameterSource) - Static method in class org.springframework.jdbc.core.namedparam.NamedParameterUtils
-
Convert parameter types from an SqlParameterSource into a corresponding int array.
- buildValueArray(String, Map<String, ?>) - Static method in class org.springframework.jdbc.core.namedparam.NamedParameterUtils
-
Convert a Map of named parameter values to a corresponding array.
- buildValueArray(ParsedSql, SqlParameterSource, List<SqlParameter>) - Static method in class org.springframework.jdbc.core.namedparam.NamedParameterUtils
-
Convert a Map of named parameter values to a corresponding array.
- byPassReturnParameter(String) - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Should we bypass the return parameter with the specified name?
- byPassReturnParameter(String) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- byPassReturnParameter(String) - Method in class org.springframework.jdbc.core.metadata.PostgresCallMetaDataProvider
- byPassReturnParameter(String) - Method in class org.springframework.jdbc.core.metadata.SqlServerCallMetaDataProvider
- byPassReturnParameter(String) - Method in class org.springframework.jdbc.core.metadata.SybaseCallMetaDataProvider
C
- call(CallableStatementCreator, List<SqlParameter>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute an SQL call using a CallableStatementCreator to provide SQL and any required parameters.
- call(CallableStatementCreator, List<SqlParameter>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- CallableStatementCallback<T> - Interface in org.springframework.jdbc.core
-
Generic callback interface for code that operates on a CallableStatement.
- CallableStatementCreator - Interface in org.springframework.jdbc.core
-
One of the three central callback interfaces used by the JdbcTemplate class.
- CallableStatementCreatorFactory - Class in org.springframework.jdbc.core
-
Helper class that efficiently creates multiple
CallableStatementCreator
objects with different parameters based on an SQL statement and a single set of parameter declarations. - CallableStatementCreatorFactory(String) - Constructor for class org.springframework.jdbc.core.CallableStatementCreatorFactory
-
Create a new factory.
- CallableStatementCreatorFactory(String, List<SqlParameter>) - Constructor for class org.springframework.jdbc.core.CallableStatementCreatorFactory
-
Create a new factory with the given SQL and the given parameters.
- CallMetaDataContext - Class in org.springframework.jdbc.core.metadata
-
Class to manage context meta-data used for the configuration and execution of a stored procedure call.
- CallMetaDataContext() - Constructor for class org.springframework.jdbc.core.metadata.CallMetaDataContext
- CallMetaDataProvider - Interface in org.springframework.jdbc.core.metadata
-
Interface specifying the API to be implemented by a class providing call meta-data.
- CallMetaDataProviderFactory - Class in org.springframework.jdbc.core.metadata
-
Factory used to create a
CallMetaDataProvider
implementation based on the type of database being used. - CallParameterMetaData - Class in org.springframework.jdbc.core.metadata
-
Holder of meta-data for a specific parameter that is used for call processing.
- CallParameterMetaData(boolean, String, int, int, String, boolean) - Constructor for class org.springframework.jdbc.core.metadata.CallParameterMetaData
-
Constructor taking all the properties including the function marker.
- CannotGetJdbcConnectionException - Exception Class in org.springframework.jdbc
-
Fatal exception thrown when we can't connect to an RDBMS using JDBC.
- CannotGetJdbcConnectionException(String) - Constructor for exception class org.springframework.jdbc.CannotGetJdbcConnectionException
-
Constructor for
CannotGetJdbcConnectionException
. - CannotGetJdbcConnectionException(String, IllegalStateException) - Constructor for exception class org.springframework.jdbc.CannotGetJdbcConnectionException
-
Constructor for
CannotGetJdbcConnectionException
. - CannotGetJdbcConnectionException(String, SQLException) - Constructor for exception class org.springframework.jdbc.CannotGetJdbcConnectionException
-
Constructor for
CannotGetJdbcConnectionException
. - CannotReadScriptException - Exception Class in org.springframework.jdbc.datasource.init
-
Thrown by
ScriptUtils
if an SQL script cannot be read. - CannotReadScriptException(EncodedResource, Throwable) - Constructor for exception class org.springframework.jdbc.datasource.init.CannotReadScriptException
-
Create a new
CannotReadScriptException
. - catalogNameToUse(String) - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Provide any modification of the catalog name passed in to match the meta-data currently used.
- catalogNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- catalogNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- catalogNameToUse(String) - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Get the catalog name formatted based on meta-data information.
- checkCompiled() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Check whether this operation has been compiled already; lazily compile it if not already compiled.
- checkCompiled() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Check whether this operation has been compiled already; lazily compile it if not already compiled.
- checkCompiled() - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Check whether this operation has been compiled already; lazily compile it if not already compiled.
- checkDaoConfig() - Method in class org.springframework.jdbc.core.support.JdbcDaoSupport
- checkDefaultConnectionProperties() - Method in class org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy
-
Determine default auto-commit and transaction isolation via a Connection from the target DataSource, if possible.
- checkDefaultConnectionProperties(Connection) - Method in class org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy
-
Check the default connection properties (auto-commit, transaction isolation), keeping them to be able to expose them correctly without fetching an actual JDBC Connection from the target DataSource later on.
- checkIfConfigurationModificationIsAllowed() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Method to check whether we are allowed to make any configuration changes at this time.
- checkRowsAffected(int) - Method in class org.springframework.jdbc.object.SqlUpdate
-
Check the given number of affected rows against the specified maximum number or required number.
- cleanup() - Method in interface org.springframework.jdbc.core.DisposableSqlTypeValue
-
Clean up resources held by this type value, for example the LobCreator in case of an SqlLobValue.
- cleanup() - Method in class org.springframework.jdbc.core.support.SqlLobValue
-
Deprecated.Close the LobCreator.
- cleanup() - Method in class org.springframework.jdbc.support.SqlArrayValue
- cleanup() - Method in interface org.springframework.jdbc.support.SqlValue
-
Clean up resources held by this value object.
- cleanupParameters() - Method in class org.springframework.jdbc.core.ArgumentPreparedStatementSetter
- cleanupParameters() - Method in class org.springframework.jdbc.core.ArgumentTypePreparedStatementSetter
- cleanupParameters() - Method in interface org.springframework.jdbc.core.ParameterDisposer
-
Close the resources allocated by parameters that the implementing object holds, for example in case of a DisposableSqlTypeValue (like an SqlLobValue).
- cleanupParameters(Object...) - Static method in class org.springframework.jdbc.core.StatementCreatorUtils
-
Clean up all resources held by parameter values which were passed to an execute method.
- cleanupParameters(Collection<?>) - Static method in class org.springframework.jdbc.core.StatementCreatorUtils
-
Clean up all resources held by parameter values which were passed to an execute method.
- clear() - Method in class org.springframework.jdbc.datasource.ConnectionHolder
- close() - Method in class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Close the underlying Connection.
- close() - Method in class org.springframework.jdbc.support.lob.DefaultLobHandler.DefaultLobCreator
-
Deprecated.
- close() - Method in interface org.springframework.jdbc.support.lob.LobCreator
-
Deprecated.Close this LobCreator session and free its temporarily created BLOBs and CLOBs.
- close() - Method in class org.springframework.jdbc.support.lob.TemporaryLobCreator
-
Deprecated.
- closeConnection(Connection) - Static method in class org.springframework.jdbc.support.JdbcUtils
-
Close the given JDBC Connection and ignore any thrown exception.
- closeConnection(Connection) - Method in class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Close the underlying shared Connection.
- closeResultSet(ResultSet) - Static method in class org.springframework.jdbc.support.JdbcUtils
-
Close the given JDBC ResultSet and ignore any thrown exception.
- closeStatement(Statement) - Static method in class org.springframework.jdbc.support.JdbcUtils
-
Close the given JDBC Statement and ignore any thrown exception.
- ColumnMapRowMapper - Class in org.springframework.jdbc.core
-
RowMapper
implementation that creates ajava.util.Map
for each row, representing all columns as key-value pairs: one entry for each column, with the column name as key. - ColumnMapRowMapper() - Constructor for class org.springframework.jdbc.core.ColumnMapRowMapper
- columnNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- columnNameToUse(String) - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Get the column name formatted based on meta-data information.
- commonDatabaseName(String) - Static method in class org.springframework.jdbc.support.JdbcUtils
-
Extract a common name for the target database in use even if various drivers/platforms provide varying names at runtime.
- compile() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Compile this JdbcCall using provided parameters and meta-data plus other settings.
- compile() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Compile this JdbcInsert using provided parameters and meta-data plus other settings.
- compile() - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Compile this query.
- compileInternal() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Delegate method to perform the actual compilation.
- compileInternal() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Delegate method to perform the actual compilation.
- compileInternal() - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Subclasses must implement this template method to perform their own compilation.
- compileInternal() - Method in class org.springframework.jdbc.object.SqlCall
-
Overridden method to configure the CallableStatementCreatorFactory based on our declared parameters.
- compileInternal() - Method in class org.springframework.jdbc.object.SqlOperation
-
Overridden method to configure the PreparedStatementCreatorFactory based on our declared parameters.
- CompositeDatabasePopulator - Class in org.springframework.jdbc.datasource.init
-
Composite
DatabasePopulator
that delegates to a list of givenDatabasePopulator
implementations, executing all scripts. - CompositeDatabasePopulator() - Constructor for class org.springframework.jdbc.datasource.init.CompositeDatabasePopulator
-
Create an empty
CompositeDatabasePopulator
. - CompositeDatabasePopulator(Collection<DatabasePopulator>) - Constructor for class org.springframework.jdbc.datasource.init.CompositeDatabasePopulator
-
Create a
CompositeDatabasePopulator
with the given populators. - CompositeDatabasePopulator(DatabasePopulator...) - Constructor for class org.springframework.jdbc.datasource.init.CompositeDatabasePopulator
-
Create a
CompositeDatabasePopulator
with the given populators. - configureConnectionProperties(ConnectionProperties, String) - Method in interface org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurer
-
Configure the properties required to create and connect to the embedded database.
- configureConnectionProperties(ConnectionProperties, String) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurerDelegate
- CONNECTION_SYNCHRONIZATION_ORDER - Static variable in class org.springframework.jdbc.datasource.DataSourceUtils
-
Order value for TransactionSynchronization objects that clean up JDBC Connections.
- ConnectionCallback<T> - Interface in org.springframework.jdbc.core
-
Generic callback interface for code that operates on a JDBC Connection.
- ConnectionHandle - Interface in org.springframework.jdbc.datasource
-
Simple interface to be implemented by handles for a JDBC Connection.
- ConnectionHolder - Class in org.springframework.jdbc.datasource
-
Resource holder wrapping a JDBC
Connection
. - ConnectionHolder(Connection) - Constructor for class org.springframework.jdbc.datasource.ConnectionHolder
-
Create a new ConnectionHolder for the given JDBC Connection, wrapping it with a
SimpleConnectionHandle
, assuming that there is no ongoing transaction. - ConnectionHolder(Connection, boolean) - Constructor for class org.springframework.jdbc.datasource.ConnectionHolder
-
Create a new ConnectionHolder for the given JDBC Connection, wrapping it with a
SimpleConnectionHandle
. - ConnectionHolder(ConnectionHandle) - Constructor for class org.springframework.jdbc.datasource.ConnectionHolder
-
Create a new ConnectionHolder for the given ConnectionHandle.
- ConnectionProperties - Interface in org.springframework.jdbc.datasource.embedded
-
ConnectionProperties
serves as a simple data container that allows essential JDBC connection properties to be configured consistently, independent of the actualDataSource
implementation. - ConnectionProxy - Interface in org.springframework.jdbc.datasource
-
Subinterface of
Connection
to be implemented by Connection proxies. - constructMappedInstance(ResultSet, TypeConverter) - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Construct an instance of the mapped class for the current row.
- constructMappedInstance(ResultSet, TypeConverter) - Method in class org.springframework.jdbc.core.DataClassRowMapper
- continueOnError(boolean) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Specify that all failures which occur while executing SQL scripts should be logged but should not cause a failure.
- convertPropertyNameToUnderscoreName(String) - Static method in class org.springframework.jdbc.support.JdbcUtils
-
Convert a property name using "camelCase" to a corresponding column name with underscores.
- convertUnderscoreNameToPropertyName(String) - Static method in class org.springframework.jdbc.support.JdbcUtils
-
Convert a column name with underscores to the corresponding property name using "camelCase".
- convertValueToRequiredType(Object, Class<?>) - Method in class org.springframework.jdbc.core.SingleColumnRowMapper
-
Convert the given column value to the specified required type.
- create(DataSource) - Static method in interface org.springframework.jdbc.core.simple.JdbcClient
-
Create a
JdbcClient
for the givenDataSource
. - create(JdbcOperations) - Static method in interface org.springframework.jdbc.core.simple.JdbcClient
- create(NamedParameterJdbcOperations) - Static method in interface org.springframework.jdbc.core.simple.JdbcClient
-
Create a
JdbcClient
for the givenNamedParameterJdbcOperations
delegate, typically anNamedParameterJdbcTemplate
. - createBatch(Object...) - Static method in class org.springframework.jdbc.core.namedparam.SqlParameterSourceUtils
-
Create an array of
SqlParameterSource
objects populated with data from the values passed in (either aMap
or a bean object). - createBatch(Collection<?>) - Static method in class org.springframework.jdbc.core.namedparam.SqlParameterSourceUtils
-
Create an array of
SqlParameterSource
objects populated with data from the values passed in (either aMap
or a bean object). - createBatch(Map<String, ?>[]) - Static method in class org.springframework.jdbc.core.namedparam.SqlParameterSourceUtils
-
Create an array of
MapSqlParameterSource
objects populated with data from the values passed in. - createCallableStatement(Connection) - Method in interface org.springframework.jdbc.core.CallableStatementCreator
-
Create a callable statement in this connection.
- createCallString() - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Build the call string based on configuration and meta-data information.
- createColumnMap(int) - Method in class org.springframework.jdbc.core.ColumnMapRowMapper
-
Create a Map instance to be used as column map.
- createConnectionBuilder() - Method in class org.springframework.jdbc.datasource.DelegatingDataSource
- createConnectionBuilder() - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
- createConnectionBuilder() - Method in class org.springframework.jdbc.datasource.ShardingKeyDataSourceAdapter
-
Create a new instance of
ConnectionBuilder
using the targetDataSource
'screateConnectionBuilder()
method and set the appropriate sharding keys from the configuredShardingKeyProvider
. - createConnectionProxy(Connection) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Create a close-suppressing proxy for the given JDBC Connection.
- createCustomException(String, String, SQLException, Class<?>) - Method in class org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator
-
Create a custom
DataAccessException
, based on a given exception class from aCustomSQLErrorCodesTranslation
definition. - createDefaultInOutParameter(String, CallParameterMetaData) - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Create a default in/out parameter based on the provided meta-data.
- createDefaultInOutParameter(String, CallParameterMetaData) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- createDefaultInParameter(String, CallParameterMetaData) - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Create a default in parameter based on the provided meta-data.
- createDefaultInParameter(String, CallParameterMetaData) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- createDefaultOutParameter(String, CallParameterMetaData) - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Create a default out parameter based on the provided meta-data.
- createDefaultOutParameter(String, CallParameterMetaData) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- createDefaultOutParameter(String, CallParameterMetaData) - Method in class org.springframework.jdbc.core.metadata.OracleCallMetaDataProvider
- createDefaultOutParameter(String, CallParameterMetaData) - Method in class org.springframework.jdbc.core.metadata.PostgresCallMetaDataProvider
- createInsertString(String...) - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Build the insert string based on configuration and meta-data information.
- createInsertTypes() - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Build the array of
Types
based on configuration and meta-data information. - createInstance() - Method in class org.springframework.jdbc.config.SortedResourcesFactoryBean
- createJdbcTemplate(DataSource) - Method in class org.springframework.jdbc.core.support.JdbcDaoSupport
-
Create a JdbcTemplate for the given DataSource.
- createMap(Connection) - Method in interface org.springframework.jdbc.core.ParameterMapper
-
Create a Map of input parameters, keyed by name.
- createMetaDataProvider(DataSource, CallMetaDataContext) - Static method in class org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory
-
Create a
CallMetaDataProvider
based on the database meta-data. - createMetaDataProvider(DataSource, TableMetaDataContext) - Static method in class org.springframework.jdbc.core.metadata.TableMetaDataProviderFactory
-
Create a
TableMetaDataProvider
based on the database meta-data. - createParameterBinding(SqlParameter) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Build the parameter binding fragment.
- createPreparedStatement(Connection) - Method in interface org.springframework.jdbc.core.PreparedStatementCreator
-
Create a statement in this connection.
- createResultsMap() - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Create a Map instance to be used as the results map.
- createReturnResultSetParameter(String, RowMapper<?>) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Create a ReturnResultSetParameter/SqlOutParameter depending on the support provided by the JDBC driver used for the database in use.
- createSavepoint() - Method in class org.springframework.jdbc.datasource.ConnectionHolder
-
Create a new JDBC Savepoint for the current Connection, using generated savepoint names that are unique for the Connection.
- createSavepoint() - Method in class org.springframework.jdbc.datasource.JdbcTransactionObjectSupport
-
This implementation creates a JDBC Savepoint and returns it.
- createShardingKeyBuilder() - Method in class org.springframework.jdbc.datasource.DelegatingDataSource
- createShardingKeyBuilder() - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
- createSqlRowSet(ResultSet) - Method in class org.springframework.jdbc.core.SqlRowSetResultSetExtractor
- createTypeValue(Connection, int, String) - Method in class org.springframework.jdbc.core.support.AbstractSqlTypeValue
-
Create the type value to be passed into
PreparedStatement.setObject
. - customizeConfigurer(EmbeddedDatabaseType, UnaryOperator<EmbeddedDatabaseConfigurer>) - Static method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurers
-
Customize the default configurer for the given embedded database type.
- CustomSQLErrorCodesTranslation - Class in org.springframework.jdbc.support
-
JavaBean for holding custom JDBC error codes translation for a particular database.
- CustomSQLErrorCodesTranslation() - Constructor for class org.springframework.jdbc.support.CustomSQLErrorCodesTranslation
- CustomSQLExceptionTranslatorRegistrar - Class in org.springframework.jdbc.support
-
Registry for custom
SQLExceptionTranslator
instances for specific databases. - CustomSQLExceptionTranslatorRegistrar() - Constructor for class org.springframework.jdbc.support.CustomSQLExceptionTranslatorRegistrar
- CustomSQLExceptionTranslatorRegistry - Class in org.springframework.jdbc.support
-
Registry for custom
SQLExceptionTranslator
instances associated with specific databases allowing for overriding translation based on values contained in the configuration file named "sql-error-codes.xml". - customTranslate(String, String, SQLException) - Method in class org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator
-
Deprecated.
D
- DatabaseMetaDataCallback<T> - Interface in org.springframework.jdbc.support
-
A callback interface used by the JdbcUtils class.
- DatabasePopulator - Interface in org.springframework.jdbc.datasource.init
-
Strategy used to populate, initialize, or clean up a database.
- DatabasePopulatorUtils - Class in org.springframework.jdbc.datasource.init
-
Utility methods for executing a
DatabasePopulator
. - DatabasePopulatorUtils() - Constructor for class org.springframework.jdbc.datasource.init.DatabasePopulatorUtils
- DatabaseStartupValidator - Class in org.springframework.jdbc.support
-
Bean that checks if a database has already started up.
- DatabaseStartupValidator() - Constructor for class org.springframework.jdbc.support.DatabaseStartupValidator
- DataClassRowMapper<T> - Class in org.springframework.jdbc.core
-
RowMapper
implementation that converts a row into a new instance of the specified mapped target class. - DataClassRowMapper() - Constructor for class org.springframework.jdbc.core.DataClassRowMapper
-
Create a new
DataClassRowMapper
for bean-style configuration. - DataClassRowMapper(Class<T>) - Constructor for class org.springframework.jdbc.core.DataClassRowMapper
-
Create a new
DataClassRowMapper
. - DataFieldMaxValueIncrementer - Interface in org.springframework.jdbc.support.incrementer
-
Interface that defines contract of incrementing any data store field's maximum value.
- DataSourceFactory - Interface in org.springframework.jdbc.datasource.embedded
-
DataSourceFactory
encapsulates the creation of a particularDataSource
implementation such as a non-poolingSimpleDriverDataSource
or a HikariCP pool setup in the shape of aHikariDataSource
. - DataSourceInitializer - Class in org.springframework.jdbc.datasource.init
- DataSourceInitializer() - Constructor for class org.springframework.jdbc.datasource.init.DataSourceInitializer
- DataSourceLookup - Interface in org.springframework.jdbc.datasource.lookup
-
Strategy interface for looking up DataSources by name.
- DataSourceLookupFailureException - Exception Class in org.springframework.jdbc.datasource.lookup
-
Exception to be thrown by a DataSourceLookup implementation, indicating that the specified DataSource could not be obtained.
- DataSourceLookupFailureException(String) - Constructor for exception class org.springframework.jdbc.datasource.lookup.DataSourceLookupFailureException
-
Constructor for DataSourceLookupFailureException.
- DataSourceLookupFailureException(String, Throwable) - Constructor for exception class org.springframework.jdbc.datasource.lookup.DataSourceLookupFailureException
-
Constructor for DataSourceLookupFailureException.
- DataSourceTransactionManager - Class in org.springframework.jdbc.datasource
-
PlatformTransactionManager
implementation for a single JDBCDataSource
. - DataSourceTransactionManager() - Constructor for class org.springframework.jdbc.datasource.DataSourceTransactionManager
-
Create a new
DataSourceTransactionManager
instance. - DataSourceTransactionManager(DataSource) - Constructor for class org.springframework.jdbc.datasource.DataSourceTransactionManager
-
Create a new
DataSourceTransactionManager
instance. - DataSourceUtils - Class in org.springframework.jdbc.datasource
-
Helper class that provides static methods for obtaining JDBC
Connection
s from aDataSource
. - DataSourceUtils() - Constructor for class org.springframework.jdbc.datasource.DataSourceUtils
- Db2CallMetaDataProvider - Class in org.springframework.jdbc.core.metadata
-
DB2 specific implementation for the
CallMetaDataProvider
interface. - Db2CallMetaDataProvider(DatabaseMetaData) - Constructor for class org.springframework.jdbc.core.metadata.Db2CallMetaDataProvider
- Db2LuwMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that retrieves the next value of a given sequence on DB2 LUW (for Linux, Unix and Windows). - Db2LuwMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.Db2LuwMaxValueIncrementer
-
Default constructor for bean property style usage.
- Db2LuwMaxValueIncrementer(DataSource, String) - Constructor for class org.springframework.jdbc.support.incrementer.Db2LuwMaxValueIncrementer
-
Convenience constructor.
- Db2MainframeMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that retrieves the next value of a given sequence on DB2 for the mainframe (z/OS, DB2/390, DB2/400). - Db2MainframeMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.Db2MainframeMaxValueIncrementer
-
Default constructor for bean property style usage.
- Db2MainframeMaxValueIncrementer(DataSource, String) - Constructor for class org.springframework.jdbc.support.incrementer.Db2MainframeMaxValueIncrementer
-
Convenience constructor.
- declareParameter(SqlParameter) - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Declare a parameter for this operation.
- declareParameter(SqlParameter) - Method in class org.springframework.jdbc.object.StoredProcedure
-
Declare a parameter.
- declareParameters(SqlParameter...) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- declareParameters(SqlParameter...) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Specify one or more parameters if desired.
- DEFAULT_BATCH_SIZE - Static variable in class org.springframework.jdbc.object.BatchSqlUpdate
-
Default number of inserts to accumulate before committing a batch (5000).
- DEFAULT_BLOCK_COMMENT_END_DELIMITER - Static variable in class org.springframework.jdbc.datasource.init.ScriptUtils
-
Default end delimiter for block comments within SQL scripts:
"*/"
. - DEFAULT_BLOCK_COMMENT_START_DELIMITER - Static variable in class org.springframework.jdbc.datasource.init.ScriptUtils
-
Default start delimiter for block comments within SQL scripts:
"/*"
. - DEFAULT_CACHE_LIMIT - Static variable in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
-
Default maximum number of entries for this template's SQL cache: 256.
- DEFAULT_COMMENT_PREFIX - Static variable in class org.springframework.jdbc.datasource.init.ScriptUtils
-
Default prefix for single-line comments within SQL scripts:
"--"
. - DEFAULT_COMMENT_PREFIXES - Static variable in class org.springframework.jdbc.datasource.init.ScriptUtils
-
Default prefixes for single-line comments within SQL scripts:
["--"]
. - DEFAULT_DATABASE_NAME - Static variable in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory
-
Default name for an embedded database: "testdb".
- DEFAULT_INTERVAL - Static variable in class org.springframework.jdbc.support.DatabaseStartupValidator
-
The default interval.
- DEFAULT_STATEMENT_SEPARATOR - Static variable in class org.springframework.jdbc.datasource.init.ScriptUtils
-
Default statement separator within SQL scripts:
";"
. - DEFAULT_TIMEOUT - Static variable in class org.springframework.jdbc.support.DatabaseStartupValidator
-
The default timeout.
- defaultAutoCommit() - Method in class org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy
-
Expose the default auto-commit value.
- DefaultLobCreator() - Constructor for class org.springframework.jdbc.support.lob.DefaultLobHandler.DefaultLobCreator
-
Deprecated.
- DefaultLobHandler - Class in org.springframework.jdbc.support.lob
-
Deprecated.as of 6.2, in favor of
SqlBinaryValue
andSqlCharacterValue
- DefaultLobHandler() - Constructor for class org.springframework.jdbc.support.lob.DefaultLobHandler
-
Deprecated.
- DefaultLobHandler.DefaultLobCreator - Class in org.springframework.jdbc.support.lob
-
Deprecated.Default LobCreator implementation as an inner class.
- defaultTransactionIsolation() - Method in class org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy
-
Expose the default transaction isolation value.
- DelegatingDataSource - Class in org.springframework.jdbc.datasource
-
JDBC
DataSource
implementation that delegates all calls to a given targetDataSource
. - DelegatingDataSource() - Constructor for class org.springframework.jdbc.datasource.DelegatingDataSource
-
Create a new DelegatingDataSource.
- DelegatingDataSource(DataSource) - Constructor for class org.springframework.jdbc.datasource.DelegatingDataSource
-
Create a new DelegatingDataSource.
- DERBY - Enum constant in enum class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType
-
The Apache Derby Embedded SQL Database.
- DerbyCallMetaDataProvider - Class in org.springframework.jdbc.core.metadata
-
Derby specific implementation for the
CallMetaDataProvider
interface. - DerbyCallMetaDataProvider(DatabaseMetaData) - Constructor for class org.springframework.jdbc.core.metadata.DerbyCallMetaDataProvider
- DerbyMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that increments the maximum value of a given Derby table with the equivalent of an auto-increment column. - DerbyMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.DerbyMaxValueIncrementer
-
Default constructor for bean property style usage.
- DerbyMaxValueIncrementer(DataSource, String, String) - Constructor for class org.springframework.jdbc.support.incrementer.DerbyMaxValueIncrementer
-
Convenience constructor.
- DerbyMaxValueIncrementer(DataSource, String, String, String) - Constructor for class org.springframework.jdbc.support.incrementer.DerbyMaxValueIncrementer
-
Convenience constructor.
- DerbyTableMetaDataProvider - Class in org.springframework.jdbc.core.metadata
-
The Derby specific implementation of
TableMetaDataProvider
. - DerbyTableMetaDataProvider(DatabaseMetaData) - Constructor for class org.springframework.jdbc.core.metadata.DerbyTableMetaDataProvider
- destroy() - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactoryBean
- destroy() - Method in class org.springframework.jdbc.datasource.init.DataSourceInitializer
-
Use the database cleaner to clean up the database.
- destroy() - Method in class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Close the underlying Connection.
- determineCurrentLookupKey() - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
-
Determine the current lookup key.
- determineCurrentLookupKey() - Method in class org.springframework.jdbc.datasource.lookup.IsolationLevelDataSourceRouter
- determineTargetDataSource() - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
-
Retrieve the current target DataSource.
- DisposableSqlTypeValue - Interface in org.springframework.jdbc.core
-
Subinterface of
SqlTypeValue
that adds a cleanup callback, to be invoked after the value has been set and the corresponding statement has been executed. - doBegin(Object, TransactionDefinition) - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
- doCleanupAfterCompletion(Object) - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
- doCloseConnection(Connection, DataSource) - Static method in class org.springframework.jdbc.datasource.DataSourceUtils
-
Close the Connection, unless a
SmartDataSource
doesn't want us to. - doCommit(DefaultTransactionStatus) - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
- doExecute(Object...) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Delegate method that executes the call using the passed-in array of parameters.
- doExecute(Map<String, ?>) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Delegate method that executes the call using the passed-in Map of parameters.
- doExecute(Map<String, ?>) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Delegate method that executes the insert using the passed-in Map of parameters.
- doExecute(SqlParameterSource) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Delegate method that executes the call using the passed-in
SqlParameterSource
. - doExecute(SqlParameterSource) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Delegate method that executes the insert using the passed-in
SqlParameterSource
. - doExecuteAndReturnKey(Map<String, ?>) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Method that provides execution of the insert using the passed-in Map of parameters and returning a generated key.
- doExecuteAndReturnKey(SqlParameterSource) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Method that provides execution of the insert using the passed-in
SqlParameterSource
and returning a generated key. - doExecuteAndReturnKeyHolder(Map<String, ?>) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Method that provides execution of the insert using the passed-in Map of parameters and returning all generated keys.
- doExecuteAndReturnKeyHolder(SqlParameterSource) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Method that provides execution of the insert using the passed-in
SqlParameterSource
and returning all generated keys. - doExecuteBatch(Map<String, ?>...) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Delegate method that executes a batch insert using the passed-in Maps of parameters.
- doExecuteBatch(SqlParameterSource...) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Delegate method that executes a batch insert using the passed-in
SqlParameterSources
. - doGetConnection(String, String) - Method in class org.springframework.jdbc.datasource.IsolationLevelDataSourceAdapter
-
Applies the current isolation level value and read-only flag to the returned Connection.
- doGetConnection(String, String) - Method in class org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter
-
This implementation delegates to the
getConnection(username, password)
method of the target DataSource, passing in the specified user credentials. - doGetConnection(DataSource) - Static method in class org.springframework.jdbc.datasource.DataSourceUtils
-
Actually obtain a JDBC Connection from the given DataSource.
- doGetTransaction() - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
- doInCallableStatement(CallableStatement) - Method in interface org.springframework.jdbc.core.CallableStatementCallback
-
Gets called by
JdbcTemplate.execute
with an active JDBC CallableStatement. - doInConnection(Connection) - Method in interface org.springframework.jdbc.core.ConnectionCallback
-
Gets called by
JdbcTemplate.execute
with an active JDBC Connection. - doInPreparedStatement(PreparedStatement) - Method in interface org.springframework.jdbc.core.PreparedStatementCallback
-
Gets called by
JdbcTemplate.execute
with an active JDBC PreparedStatement. - doInPreparedStatement(PreparedStatement) - Method in class org.springframework.jdbc.core.support.AbstractLobCreatingPreparedStatementCallback
-
Deprecated.
- doInStatement(Statement) - Method in interface org.springframework.jdbc.core.StatementCallback
-
Gets called by
JdbcTemplate.execute
with an active JDBC Statement. - doReleaseConnection(Connection, DataSource) - Static method in class org.springframework.jdbc.datasource.DataSourceUtils
-
Actually close the given Connection, obtained from the given DataSource.
- doResume(Object, Object) - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
- doRollback(DefaultTransactionStatus) - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
- doSetRollbackOnly(DefaultTransactionStatus) - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
- doSetValue(PreparedStatement, int, int, Object) - Method in class org.springframework.jdbc.core.ArgumentTypePreparedStatementSetter
-
Set the value for the prepared statement's specified parameter position using the supplied value and type.
- doSetValue(PreparedStatement, int, Object) - Method in class org.springframework.jdbc.core.ArgumentPreparedStatementSetter
-
Set the value for the prepared statement's specified parameter position using the supplied value.
- doSuspend(Object) - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
- doTranslate(String, String, SQLException) - Method in class org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator
-
Template method for actually translating the given exception.
- doTranslate(String, String, SQLException) - Method in class org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator
- doTranslate(String, String, SQLException) - Method in class org.springframework.jdbc.support.SQLExceptionSubclassTranslator
- doTranslate(String, String, SQLException) - Method in class org.springframework.jdbc.support.SQLStateSQLExceptionTranslator
- DriverManagerDataSource - Class in org.springframework.jdbc.datasource
-
Simple implementation of the standard JDBC
DataSource
interface, configuring the plain old JDBCDriverManager
via bean properties, and returning a newConnection
from everygetConnection
call. - DriverManagerDataSource() - Constructor for class org.springframework.jdbc.datasource.DriverManagerDataSource
-
Constructor for bean-style configuration.
- DriverManagerDataSource(String) - Constructor for class org.springframework.jdbc.datasource.DriverManagerDataSource
-
Create a new DriverManagerDataSource with the given JDBC URL, not specifying a username or password for JDBC access.
- DriverManagerDataSource(String, String, String) - Constructor for class org.springframework.jdbc.datasource.DriverManagerDataSource
-
Create a new DriverManagerDataSource with the given standard DriverManager parameters.
- DriverManagerDataSource(String, Properties) - Constructor for class org.springframework.jdbc.datasource.DriverManagerDataSource
-
Create a new DriverManagerDataSource with the given JDBC URL, not specifying a username or password for JDBC access.
E
- EmbeddedDatabase - Interface in org.springframework.jdbc.datasource.embedded
-
EmbeddedDatabase
serves as a handle to an embedded database instance. - EmbeddedDatabaseBuilder - Class in org.springframework.jdbc.datasource.embedded
-
A builder that provides a convenient API for constructing an embedded database.
- EmbeddedDatabaseBuilder() - Constructor for class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Create a new embedded database builder with a
DefaultResourceLoader
. - EmbeddedDatabaseBuilder(ResourceLoader) - Constructor for class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Create a new embedded database builder with the given
ResourceLoader
. - EmbeddedDatabaseConfigurer - Interface in org.springframework.jdbc.datasource.embedded
-
EmbeddedDatabaseConfigurer
encapsulates the configuration required to create, connect to, and shut down a specific type of embedded database such as HSQL, H2, or Derby. - EmbeddedDatabaseConfigurerDelegate - Class in org.springframework.jdbc.datasource.embedded
-
An
EmbeddedDatabaseConfigurer
delegate that can be used to customize the embedded database. - EmbeddedDatabaseConfigurerDelegate(EmbeddedDatabaseConfigurer) - Constructor for class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurerDelegate
- EmbeddedDatabaseConfigurers - Class in org.springframework.jdbc.datasource.embedded
-
Maps well-known embedded database types to
EmbeddedDatabaseConfigurer
strategies. - EmbeddedDatabaseConfigurers() - Constructor for class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurers
- EmbeddedDatabaseFactory - Class in org.springframework.jdbc.datasource.embedded
-
Factory for creating an
EmbeddedDatabase
instance. - EmbeddedDatabaseFactory() - Constructor for class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory
- EmbeddedDatabaseFactoryBean - Class in org.springframework.jdbc.datasource.embedded
-
A subclass of
EmbeddedDatabaseFactory
that implementsFactoryBean
for registration as a Spring bean. - EmbeddedDatabaseFactoryBean() - Constructor for class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactoryBean
- EmbeddedDatabaseType - Enum Class in org.springframework.jdbc.datasource.embedded
-
A supported embedded database type.
- EmptySqlParameterSource - Class in org.springframework.jdbc.core.namedparam
-
A simple empty implementation of the
SqlParameterSource
interface. - EmptySqlParameterSource() - Constructor for class org.springframework.jdbc.core.namedparam.EmptySqlParameterSource
- EOF_STATEMENT_SEPARATOR - Static variable in class org.springframework.jdbc.datasource.init.ScriptUtils
-
End of file (EOF) SQL statement separator:
"^^^ END OF SCRIPT ^^^"
. - execute() - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to execute without parameters nor context.
- execute(int) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to execute with a single int parameter.
- execute(int, int) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to execute with two int parameters.
- execute(int, int, Map<?, ?>) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to execute with two int parameters and context.
- execute(int, Map<?, ?>) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to execute with a single int parameter and context.
- execute(long) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to execute with a single long parameter.
- execute(long, Map<?, ?>) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to execute with a single long parameter and context.
- execute(Object...) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- execute(Object...) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Execute the stored procedure and return a map of output params, keyed by name as in parameter declarations.
- execute(Object...) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to execute without context.
- execute(Object...) - Method in class org.springframework.jdbc.object.StoredProcedure
-
Execute the stored procedure with the provided parameter values.
- execute(Object[], Map<?, ?>) - Method in class org.springframework.jdbc.object.SqlQuery
-
Central execution method.
- execute(String) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Issue a single SQL execute, typically a DDL statement.
- execute(String) - Method in class org.springframework.jdbc.core.JdbcTemplate
- execute(String) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to execute with a single String parameter.
- execute(String, Map<?, ?>) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to execute with a single String parameter and context.
- execute(String, Map<String, ?>, PreparedStatementCallback<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.
- execute(String, Map<String, ?>, PreparedStatementCallback<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- execute(String, CallableStatementCallback<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a JDBC data access operation, implemented as callback action working on a JDBC CallableStatement.
- execute(String, CallableStatementCallback<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- execute(String, SqlParameterSource, PreparedStatementCallback<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.
- execute(String, SqlParameterSource, PreparedStatementCallback<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- execute(String, PreparedStatementCallback<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.
- execute(String, PreparedStatementCallback<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- execute(String, PreparedStatementCallback<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.
- execute(String, PreparedStatementCallback<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- execute(Map<?, ?>) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to execute without parameters.
- execute(Map<String, ?>) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- execute(Map<String, ?>) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Execute the stored procedure and return a map of output params, keyed by name as in parameter declarations.
- execute(Map<String, ?>) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcInsert
- execute(Map<String, ?>) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcInsertOperations
-
Execute the insert using the values passed in.
- execute(Map<String, ?>) - Method in class org.springframework.jdbc.object.StoredProcedure
-
Execute the stored procedure.
- execute(DataSource) - Method in class org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
-
Execute this
ResourceDatabasePopulator
against the givenDataSource
. - execute(CallableStatementCreator, CallableStatementCallback<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a JDBC data access operation, implemented as callback action working on a JDBC CallableStatement.
- execute(CallableStatementCreator, CallableStatementCallback<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- execute(ConnectionCallback<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a JDBC data access operation, implemented as callback action working on a JDBC Connection.
- execute(ConnectionCallback<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- execute(SqlParameterSource) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- execute(SqlParameterSource) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Execute the stored procedure and return a map of output params, keyed by name as in parameter declarations.
- execute(SqlParameterSource) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcInsert
- execute(SqlParameterSource) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcInsertOperations
-
Execute the insert using the values passed in.
- execute(ParameterMapper) - Method in class org.springframework.jdbc.object.StoredProcedure
-
Execute the stored procedure.
- execute(PreparedStatementCreator, PreparedStatementCallback<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.
- execute(PreparedStatementCreator, PreparedStatementCallback<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- execute(StatementCallback<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a JDBC data access operation, implemented as callback action working on a JDBC Statement.
- execute(StatementCallback<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- execute(DatabasePopulator, DataSource) - Static method in class org.springframework.jdbc.datasource.init.DatabasePopulatorUtils
-
Execute the given
DatabasePopulator
against the givenDataSource
. - executeAndReturnKey(Map<String, ?>) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcInsert
- executeAndReturnKey(Map<String, ?>) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcInsertOperations
-
Execute the insert using the values passed in and return the generated key.
- executeAndReturnKey(SqlParameterSource) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcInsert
- executeAndReturnKey(SqlParameterSource) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcInsertOperations
-
Execute the insert using the values passed in and return the generated key.
- executeAndReturnKeyHolder(Map<String, ?>) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcInsert
- executeAndReturnKeyHolder(Map<String, ?>) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcInsertOperations
-
Execute the insert using the values passed in and return the generated keys.
- executeAndReturnKeyHolder(SqlParameterSource) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcInsert
- executeAndReturnKeyHolder(SqlParameterSource) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcInsertOperations
-
Execute the insert using the values passed in and return the generated keys.
- executeBatch(Map<String, ?>...) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcInsert
- executeBatch(Map<String, ?>...) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcInsertOperations
-
Execute a batch insert using the batch of values passed in.
- executeBatch(SqlParameterSource...) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcInsert
- executeBatch(SqlParameterSource...) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcInsertOperations
-
Execute a batch insert using the batch of values passed in.
- executeByNamedParam(Map<String, ?>, Map<?, ?>) - Method in class org.springframework.jdbc.object.SqlQuery
-
Central execution method.
- executeByNamedParam(Map<String, ? extends Object>) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to execute without context.
- executeFunction(Class<T>, Object...) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- executeFunction(Class<T>, Object...) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Execute the stored function and return the results obtained as an Object of the specified return type.
- executeFunction(Class<T>, Map<String, ?>) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- executeFunction(Class<T>, Map<String, ?>) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Execute the stored function and return the results obtained as an Object of the specified return type.
- executeFunction(Class<T>, SqlParameterSource) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- executeFunction(Class<T>, SqlParameterSource) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Execute the stored function and return the results obtained as an Object of the specified return type.
- executeObject(Class<T>, Object...) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- executeObject(Class<T>, Object...) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Execute the stored procedure and return the single out parameter as an Object of the specified return type.
- executeObject(Class<T>, Map<String, ?>) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- executeObject(Class<T>, Map<String, ?>) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Execute the stored procedure and return the single out parameter as an Object of the specified return type.
- executeObject(Class<T>, SqlParameterSource) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- executeObject(Class<T>, SqlParameterSource) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Execute the stored procedure and return the single out parameter as an Object of the specified return type.
- executeSqlScript(Connection, Resource) - Static method in class org.springframework.jdbc.datasource.init.ScriptUtils
-
Execute the given SQL script using default settings for statement separators, comment delimiters, and exception handling flags.
- executeSqlScript(Connection, EncodedResource) - Static method in class org.springframework.jdbc.datasource.init.ScriptUtils
-
Execute the given SQL script using default settings for statement separators, comment delimiters, and exception handling flags.
- executeSqlScript(Connection, EncodedResource, boolean, boolean, String[], String, String, String) - Static method in class org.springframework.jdbc.datasource.init.ScriptUtils
-
Execute the given SQL script.
- executeSqlScript(Connection, EncodedResource, boolean, boolean, String, String, String, String) - Static method in class org.springframework.jdbc.datasource.init.ScriptUtils
-
Execute the given SQL script.
- extractCaseInsensitiveParameterNames(SqlParameterSource) - Static method in class org.springframework.jdbc.core.namedparam.SqlParameterSourceUtils
-
Create a Map of case-insensitive parameter names together with the original name.
- extractData(ResultSet) - Method in interface org.springframework.jdbc.core.ResultSetExtractor
-
Implementations must implement this method to process the entire ResultSet.
- extractData(ResultSet) - Method in class org.springframework.jdbc.core.RowMapperResultSetExtractor
- extractData(ResultSet) - Method in class org.springframework.jdbc.core.SqlRowSetResultSetExtractor
- extractData(ResultSet) - Method in class org.springframework.jdbc.core.support.AbstractLobStreamingResultSetExtractor
-
Deprecated.Delegates to handleNoRowFound, handleMultipleRowsFound and streamData, according to the ResultSet state.
- extractDatabaseMetaData(DataSource, String) - Static method in class org.springframework.jdbc.support.JdbcUtils
-
Deprecated.as of 5.2.9, in favor of
JdbcUtils.extractDatabaseMetaData(DataSource, DatabaseMetaDataCallback)
with a lambda expression or method reference and a generically typed result - extractDatabaseMetaData(DataSource, DatabaseMetaDataCallback<T>) - Static method in class org.springframework.jdbc.support.JdbcUtils
-
Extract database meta-data via the given DatabaseMetaDataCallback.
- extractOutputParameters(CallableStatement, List<SqlParameter>) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Extract output parameters from the completed stored procedure.
- extractReturnedResults(CallableStatement, List<SqlParameter>, List<SqlParameter>, int) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Extract returned ResultSets from the completed stored procedure.
F
- FALLBACK_STATEMENT_SEPARATOR - Static variable in class org.springframework.jdbc.datasource.init.ScriptUtils
-
Fallback statement separator within SQL scripts:
"\n"
. - findColumn(String) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- findColumn(String) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Map the given column label to its column index.
- findObject(int) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to find a single object given a single int parameter.
- findObject(int, int) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to find a single object given two int parameters.
- findObject(int, int, Map<?, ?>) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to find a single object given two int parameters and a context.
- findObject(int, Map<?, ?>) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to find a single object given a single int parameter and a context.
- findObject(long) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to find a single object given a single long parameter.
- findObject(long, Map<?, ?>) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to find a single object given a single long parameter and a context.
- findObject(Object...) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to find a single object without context.
- findObject(Object[], Map<?, ?>) - Method in class org.springframework.jdbc.object.SqlQuery
-
Generic object finder method, used by all other
findObject
methods. - findObject(String) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to find a single object given a single String parameter.
- findObject(String, Map<?, ?>) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to find a single object given a single String parameter and a context.
- findObjectByNamedParam(Map<String, ?>) - Method in class org.springframework.jdbc.object.SqlQuery
-
Convenient method to execute without context.
- findObjectByNamedParam(Map<String, ?>, Map<?, ?>) - Method in class org.springframework.jdbc.object.SqlQuery
-
Generic object finder method for named parameters.
- findTranslatorForDatabase(String) - Method in class org.springframework.jdbc.support.CustomSQLExceptionTranslatorRegistry
-
Find a custom translator for the specified database.
- first() - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- first() - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Move the cursor to the first row of this row set.
- flush() - Method in class org.springframework.jdbc.object.BatchSqlUpdate
-
Trigger any queued update operations to be added as a final batch.
G
- GeneratedKeyHolder - Class in org.springframework.jdbc.support
-
The standard implementation of the
KeyHolder
interface, to be used for holding auto-generated keys (as potentially returned by JDBC insert statements). - GeneratedKeyHolder() - Constructor for class org.springframework.jdbc.support.GeneratedKeyHolder
-
Create a new GeneratedKeyHolder with a default list.
- GeneratedKeyHolder(List<Map<String, Object>>) - Constructor for class org.springframework.jdbc.support.GeneratedKeyHolder
-
Create a new GeneratedKeyHolder with a given list.
- generateUniqueName(boolean) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Specify whether a unique ID should be generated and used as the database name.
- GenericCallMetaDataProvider - Class in org.springframework.jdbc.core.metadata
-
A generic implementation of the
CallMetaDataProvider
interface. - GenericCallMetaDataProvider(DatabaseMetaData) - Constructor for class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
-
Constructor used to initialize with provided database meta-data.
- GenericSqlQuery<T> - Class in org.springframework.jdbc.object
- GenericSqlQuery() - Constructor for class org.springframework.jdbc.object.GenericSqlQuery
- GenericStoredProcedure - Class in org.springframework.jdbc.object
-
Concrete implementation making it possible to define the RDBMS stored procedures in an application context without writing a custom Java implementation class.
- GenericStoredProcedure() - Constructor for class org.springframework.jdbc.object.GenericStoredProcedure
- GenericTableMetaDataProvider - Class in org.springframework.jdbc.core.metadata
-
A generic implementation of the
TableMetaDataProvider
interface which should provide enough features for all supported databases. - GenericTableMetaDataProvider(DatabaseMetaData) - Constructor for class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
-
Constructor used to initialize with provided database meta-data.
- getActualCount() - Method in exception class org.springframework.jdbc.IncorrectResultSetColumnCountException
-
Return the actual column count.
- getActualRowsAffected() - Method in exception class org.springframework.jdbc.JdbcUpdateAffectedIncorrectNumberOfRowsException
-
Return the number of rows that have actually been affected.
- getAutoCommitValue() - Method in class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Return whether the returned Connection's "autoCommit" setting should be overridden.
- getBadSqlGrammarCodes() - Method in class org.springframework.jdbc.support.SQLErrorCodes
- getBatchSize() - Method in interface org.springframework.jdbc.core.BatchPreparedStatementSetter
-
Return the size of the batch.
- getBatchSize() - Method in class org.springframework.jdbc.core.support.AbstractInterruptibleBatchPreparedStatementSetter
-
This implementation returns
Integer.MAX_VALUE
. - getBigDecimal(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getBigDecimal(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a BigDecimal object.
- getBigDecimal(String) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getBigDecimal(String) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a BigDecimal object.
- getBlobAsBinaryStream(ResultSet, int) - Method in class org.springframework.jdbc.support.lob.DefaultLobHandler
-
Deprecated.
- getBlobAsBinaryStream(ResultSet, int) - Method in interface org.springframework.jdbc.support.lob.LobHandler
-
Deprecated.Retrieve the given column as binary stream from the given ResultSet.
- getBlobAsBinaryStream(ResultSet, String) - Method in class org.springframework.jdbc.support.lob.AbstractLobHandler
-
Deprecated.
- getBlobAsBinaryStream(ResultSet, String) - Method in interface org.springframework.jdbc.support.lob.LobHandler
-
Deprecated.Retrieve the given column as binary stream from the given ResultSet.
- getBlobAsBytes(ResultSet, int) - Method in class org.springframework.jdbc.support.lob.DefaultLobHandler
-
Deprecated.
- getBlobAsBytes(ResultSet, int) - Method in interface org.springframework.jdbc.support.lob.LobHandler
-
Deprecated.Retrieve the given column as bytes from the given ResultSet.
- getBlobAsBytes(ResultSet, String) - Method in class org.springframework.jdbc.support.lob.AbstractLobHandler
-
Deprecated.
- getBlobAsBytes(ResultSet, String) - Method in interface org.springframework.jdbc.support.lob.LobHandler
-
Deprecated.Retrieve the given column as bytes from the given ResultSet.
- getBoolean(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getBoolean(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a boolean.
- getBoolean(String) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getBoolean(String) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a boolean.
- getByte(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getByte(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a byte.
- getByte(String) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getByte(String) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a byte.
- getCacheLimit() - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
-
Return the maximum number of entries for this template's SQL cache.
- getCacheSize() - Method in class org.springframework.jdbc.support.incrementer.AbstractColumnMaxValueIncrementer
-
Return the number of buffered keys.
- getCallableStatementFactory() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Get the
CallableStatementCreatorFactory
being used. - getCallParameterMetaData() - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Get the call parameter meta-data that is currently used.
- getCallParameterMetaData() - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- getCallParameters() - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Get the List of SqlParameter objects to be used in call execution.
- getCallParameters() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Get a List of all the call parameters to be used for call.
- getCallString() - Method in class org.springframework.jdbc.core.CallableStatementCreatorFactory
-
Return the SQL call string.
- getCallString() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Get the call string that should be used based on parameters and meta-data.
- getCallString() - Method in class org.springframework.jdbc.object.SqlCall
-
Get the call string.
- getCannotAcquireLockCodes() - Method in class org.springframework.jdbc.support.SQLErrorCodes
- getCannotSerializeTransactionCodes() - Method in class org.springframework.jdbc.support.SQLErrorCodes
- getCatalog() - Method in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
-
Return the database catalog to be applied to each Connection, if any.
- getCatalogName() - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Get the name of the catalog.
- getCatalogName() - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Get the name of the catalog for this context.
- getCatalogName() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Get the catalog name used.
- getCatalogName() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Get the name of the catalog for this insert.
- getCatalogName(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
- getCatalogName(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSetMetaData
-
Retrieve the catalog name of the table that served as the source for the specified column.
- getClobAsAsciiStream(ResultSet, int) - Method in class org.springframework.jdbc.support.lob.DefaultLobHandler
-
Deprecated.
- getClobAsAsciiStream(ResultSet, int) - Method in interface org.springframework.jdbc.support.lob.LobHandler
-
Deprecated.Retrieve the given column as ASCII stream from the given ResultSet.
- getClobAsAsciiStream(ResultSet, String) - Method in class org.springframework.jdbc.support.lob.AbstractLobHandler
-
Deprecated.
- getClobAsAsciiStream(ResultSet, String) - Method in interface org.springframework.jdbc.support.lob.LobHandler
-
Deprecated.Retrieve the given column as ASCII stream from the given ResultSet.
- getClobAsCharacterStream(ResultSet, int) - Method in class org.springframework.jdbc.support.lob.DefaultLobHandler
-
Deprecated.
- getClobAsCharacterStream(ResultSet, int) - Method in interface org.springframework.jdbc.support.lob.LobHandler
-
Deprecated.Retrieve the given column as character stream from the given ResultSet.
- getClobAsCharacterStream(ResultSet, String) - Method in class org.springframework.jdbc.support.lob.AbstractLobHandler
-
Deprecated.
- getClobAsCharacterStream(ResultSet, String) - Method in interface org.springframework.jdbc.support.lob.LobHandler
-
Deprecated.Retrieve the given column as character stream from the given ResultSet.
- getClobAsString(ResultSet, int) - Method in class org.springframework.jdbc.support.lob.DefaultLobHandler
-
Deprecated.
- getClobAsString(ResultSet, int) - Method in interface org.springframework.jdbc.support.lob.LobHandler
-
Deprecated.Retrieve the given column as String from the given ResultSet.
- getClobAsString(ResultSet, String) - Method in class org.springframework.jdbc.support.lob.AbstractLobHandler
-
Deprecated.
- getClobAsString(ResultSet, String) - Method in interface org.springframework.jdbc.support.lob.LobHandler
-
Deprecated.Retrieve the given column as String from the given ResultSet.
- getCloseSuppressingConnectionProxy(Connection) - Method in class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Wrap the given Connection with a proxy that delegates every method call to it but suppresses close calls.
- getColumnClassName(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
- getColumnClassName(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSetMetaData
-
Retrieve the fully qualified class that the specified column will be mapped to.
- getColumnCount() - Method in class org.springframework.jdbc.core.RowCountCallbackHandler
-
Return the number of columns in this result set.
- getColumnCount() - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
- getColumnCount() - Method in interface org.springframework.jdbc.support.rowset.SqlRowSetMetaData
-
Retrieve the number of columns in the RowSet.
- getColumnDisplaySize(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
- getColumnDisplaySize(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSetMetaData
-
Retrieve the maximum width of the designated column.
- getColumnKey(String) - Method in class org.springframework.jdbc.core.ColumnMapRowMapper
-
Determine the key to use for the given column in the column Map.
- getColumnLabel(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
- getColumnLabel(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSetMetaData
-
Retrieve the suggested column title for the column specified.
- getColumnMapRowMapper() - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Create a new RowMapper for reading columns as key-value pairs.
- getColumnName() - Method in class org.springframework.jdbc.support.incrementer.AbstractColumnMaxValueIncrementer
-
Return the name of the column in the sequence table.
- getColumnName(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
- getColumnName(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSetMetaData
-
Retrieve the column name for the indicated column.
- getColumnNames() - Method in class org.springframework.jdbc.core.RowCountCallbackHandler
-
Return the names of the columns.
- getColumnNames() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Get the names of the columns used.
- getColumnNames() - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
- getColumnNames() - Method in interface org.springframework.jdbc.support.rowset.SqlRowSetMetaData
-
Return the column names of the table that the result set represents.
- getColumnType(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
- getColumnType(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSetMetaData
-
Retrieve the SQL type code for the indicated column.
- getColumnTypeName(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
- getColumnTypeName(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSetMetaData
-
Retrieve the DBMS-specific type name for the indicated column.
- getColumnTypes() - Method in class org.springframework.jdbc.core.RowCountCallbackHandler
-
Return the types of the columns as java.sql.Types constants Valid after processRow is invoked the first time.
- getColumnValue(ResultSet, int) - Method in class org.springframework.jdbc.core.ColumnMapRowMapper
-
Retrieve a JDBC object value for the specified column.
- getColumnValue(ResultSet, int) - Method in class org.springframework.jdbc.core.SingleColumnRowMapper
-
Retrieve a JDBC object value for the specified column, using the most appropriate value type.
- getColumnValue(ResultSet, int, PropertyDescriptor) - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Retrieve a JDBC object value for the specified column.
- getColumnValue(ResultSet, int, Class<?>) - Method in class org.springframework.jdbc.core.SingleColumnRowMapper
-
Retrieve a JDBC object value for the specified column.
- getColumnValue(ResultSet, int, Class<?>) - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Retrieve a JDBC object value for the specified column.
- getConfigurer(EmbeddedDatabaseType) - Static method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurers
-
Return a configurer instance for the given embedded database type.
- getConnection() - Method in class org.springframework.jdbc.core.support.JdbcDaoSupport
-
Get a JDBC Connection, either from the current transaction or a new one.
- getConnection() - Method in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
-
This implementation delegates to
getConnectionFromDriver
, using the default username and password of this DataSource. - getConnection() - Method in interface org.springframework.jdbc.datasource.ConnectionHandle
-
Fetch the JDBC Connection that this handle refers to.
- getConnection() - Method in class org.springframework.jdbc.datasource.ConnectionHolder
-
Return the current Connection held by this ConnectionHolder.
- getConnection() - Method in class org.springframework.jdbc.datasource.DelegatingDataSource
- getConnection() - Method in class org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy
-
Return a Connection handle that lazily fetches an actual JDBC Connection when asked for a Statement (or PreparedStatement or CallableStatement).
- getConnection() - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
- getConnection() - Method in class org.springframework.jdbc.datasource.ShardingKeyDataSourceAdapter
-
Obtain a connection to the database shard using the provided sharding key and super sharding key (if available).
- getConnection() - Method in class org.springframework.jdbc.datasource.SimpleConnectionHandle
-
Return the specified Connection as-is.
- getConnection() - Method in class org.springframework.jdbc.datasource.SingleConnectionDataSource
- getConnection() - Method in class org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy
-
Delegates to DataSourceUtils for automatically participating in Spring-managed transactions.
- getConnection() - Method in class org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter
-
Determine whether there are currently thread-bound credentials, using them if available, falling back to the statically specified username and password (i.e.
- getConnection(String, String) - Method in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
-
This implementation delegates to
getConnectionFromDriver
, using the given username and password. - getConnection(String, String) - Method in class org.springframework.jdbc.datasource.DelegatingDataSource
- getConnection(String, String) - Method in class org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy
-
Return a Connection handle that lazily fetches an actual JDBC Connection when asked for a Statement (or PreparedStatement or CallableStatement).
- getConnection(String, String) - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
- getConnection(String, String) - Method in class org.springframework.jdbc.datasource.ShardingKeyDataSourceAdapter
-
Obtain a connection to the database shard using the provided username and password, considering the sharding keys (if available) and the given credentials.
- getConnection(String, String) - Method in class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Specifying a custom username and password doesn't make sense with a single Connection.
- getConnection(String, String) - Method in class org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter
-
Simply delegates to
UserCredentialsDataSourceAdapter.doGetConnection(String, String)
, keeping the given user credentials as-is. - getConnection(DataSource) - Static method in class org.springframework.jdbc.datasource.DataSourceUtils
-
Obtain a Connection from the given DataSource.
- getConnectionFromDriver(String, String) - Method in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
-
Build properties for the Driver, including the given username and password (if any), and obtain a corresponding Connection.
- getConnectionFromDriver(Properties) - Method in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
-
Obtain a Connection using the given properties.
- getConnectionFromDriver(Properties) - Method in class org.springframework.jdbc.datasource.DriverManagerDataSource
- getConnectionFromDriver(Properties) - Method in class org.springframework.jdbc.datasource.SimpleDriverDataSource
- getConnectionFromDriverManager(String, Properties) - Method in class org.springframework.jdbc.datasource.DriverManagerDataSource
-
Getting a Connection using the nasty static from DriverManager is extracted into a protected method to allow for easy unit testing.
- getConnectionHandle() - Method in class org.springframework.jdbc.datasource.ConnectionHolder
-
Return the ConnectionHandle held by this ConnectionHolder.
- getConnectionHolder() - Method in class org.springframework.jdbc.datasource.JdbcTransactionObjectSupport
-
Return the ConnectionHolder for this transaction object.
- getConnectionHolderForSavepoint() - Method in class org.springframework.jdbc.datasource.JdbcTransactionObjectSupport
- getConnectionProperties() - Method in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
-
Return the connection properties to be passed to the Driver, if any.
- getConnectionProperties() - Method in interface org.springframework.jdbc.datasource.embedded.DataSourceFactory
-
Get the connection properties of the
DataSource
to be configured. - getConversionService() - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Return a
ConversionService
for binding JDBC values to bean properties, ornull
if none. - getCurrentIsolationLevel() - Method in class org.springframework.jdbc.datasource.IsolationLevelDataSourceAdapter
-
Determine the current isolation level: either the transaction's isolation level or a statically defined isolation level.
- getCurrentReadOnlyFlag() - Method in class org.springframework.jdbc.datasource.IsolationLevelDataSourceAdapter
-
Determine the current read-only flag: by default, the transaction's read-only hint.
- getCustomSqlExceptionTranslator() - Method in class org.springframework.jdbc.support.SQLErrorCodes
- getCustomTranslations() - Method in class org.springframework.jdbc.support.SQLErrorCodes
- getCustomTranslator() - Method in class org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator
-
Return a custom exception translator, if any.
- getDataAccessResourceFailureCodes() - Method in class org.springframework.jdbc.support.SQLErrorCodes
- getDatabase() - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory
-
Factory method that returns the embedded database instance, which is also a
DataSource
. - getDatabaseProductName() - Method in class org.springframework.jdbc.support.SQLErrorCodes
- getDatabaseProductNames() - Method in class org.springframework.jdbc.support.SQLErrorCodes
- getDatabaseVersion() - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
-
Provide access to the version info for subclasses.
- getDataIntegrityViolationCodes() - Method in class org.springframework.jdbc.support.SQLErrorCodes
- getDataSource() - Method in class org.springframework.jdbc.core.support.JdbcDaoSupport
-
Return the JDBC DataSource used by this DAO.
- getDataSource() - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
-
Return the JDBC
DataSource
that this instance manages transactions for. - getDataSource() - Method in interface org.springframework.jdbc.datasource.embedded.DataSourceFactory
-
Get the
DataSource
with the connection properties applied. - getDataSource() - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory
-
Hook that gets the
DataSource
that provides the connectivity to the embedded database. - getDataSource() - Method in class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
-
Return the data source to retrieve the value from.
- getDataSource() - Method in class org.springframework.jdbc.support.JdbcAccessor
-
Return the DataSource used by this template.
- getDataSource(String) - Method in class org.springframework.jdbc.datasource.lookup.BeanFactoryDataSourceLookup
- getDataSource(String) - Method in interface org.springframework.jdbc.datasource.lookup.DataSourceLookup
-
Retrieve the DataSource identified by the given name.
- getDataSource(String) - Method in class org.springframework.jdbc.datasource.lookup.JndiDataSourceLookup
- getDataSource(String) - Method in class org.springframework.jdbc.datasource.lookup.MapDataSourceLookup
- getDataSource(String) - Method in class org.springframework.jdbc.datasource.lookup.SingleDataSourceLookup
- getDataSources() - Method in class org.springframework.jdbc.datasource.lookup.MapDataSourceLookup
-
Get the
Map
ofDataSources
maintained by this object. - getDate(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getDate(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a Date object.
- getDate(int, Calendar) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getDate(int, Calendar) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a Date object.
- getDate(String) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getDate(String) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a Date object.
- getDate(String, Calendar) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getDate(String, Calendar) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a Date object.
- getDeadlockLoserCodes() - Method in class org.springframework.jdbc.support.SQLErrorCodes
- getDeclaredParameters() - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Return a list of the declared
SqlParameter
objects. - getDefaultSchema() - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
-
Provide access to the default schema for subclasses.
- getDefaultSchema() - Method in class org.springframework.jdbc.core.metadata.OracleTableMetaDataProvider
- getDeleteStatement(long[]) - Method in class org.springframework.jdbc.support.incrementer.AbstractIdentityColumnMaxValueIncrementer
-
Statement to use to clean up "sequence" values.
- getDouble(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getDouble(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a Double object.
- getDouble(String) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getDouble(String) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a Double object.
- getDriver() - Method in class org.springframework.jdbc.datasource.SimpleDriverDataSource
-
Return the JDBC Driver instance to use.
- getDummyName() - Method in class org.springframework.jdbc.support.incrementer.DerbyMaxValueIncrementer
-
Return the name of the dummy column.
- getDuplicateKeyCodes() - Method in class org.springframework.jdbc.support.SQLErrorCodes
- getErrorCodes() - Method in class org.springframework.jdbc.support.CustomSQLErrorCodesTranslation
-
Return the SQL error codes to match.
- getErrorCodes(String) - Method in class org.springframework.jdbc.support.SQLErrorCodesFactory
-
Return the
SQLErrorCodes
instance for the given database. - getErrorCodes(DataSource) - Method in class org.springframework.jdbc.support.SQLErrorCodesFactory
-
Return
SQLErrorCodes
for the givenDataSource
, evaluating "databaseProductName" from theDatabaseMetaData
, or an empty error codes instance if noSQLErrorCodes
were found. - getExceptionClass() - Method in class org.springframework.jdbc.support.CustomSQLErrorCodesTranslation
-
Return the exception class for the specified error codes.
- getExceptionTranslator() - Method in class org.springframework.jdbc.core.support.JdbcDaoSupport
-
Return the SQLExceptionTranslator of this DAO's JdbcTemplate, for translating SQLExceptions in custom JDBC access code.
- getExceptionTranslator() - Method in class org.springframework.jdbc.support.JdbcAccessor
-
Return the exception translator to use for this instance, creating a default if necessary.
- getExceptionTranslator() - Method in class org.springframework.jdbc.support.JdbcTransactionManager
-
Return the exception translator to use for this instance, creating a default if necessary.
- getExecutionCount() - Method in class org.springframework.jdbc.object.BatchSqlUpdate
-
Return the number of already executed statements.
- getExpectedCount() - Method in exception class org.springframework.jdbc.IncorrectResultSetColumnCountException
-
Return the expected column count.
- getExpectedRowsAffected() - Method in exception class org.springframework.jdbc.JdbcUpdateAffectedIncorrectNumberOfRowsException
-
Return the number of rows that should have been affected.
- getFallbackTranslator() - Method in class org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator
-
Return the fallback exception translator, if any.
- getFetchSize() - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Return the fetch size specified for this JdbcTemplate.
- getFloat(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getFloat(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a float.
- getFloat(String) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getFloat(String) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a float.
- getFunctionReturnName() - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Get the name used for the return value of the function.
- getGeneratedKeyNames() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Get the names of any generated keys.
- getGeneratedKeysColumnNames() - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Return the column names of the auto generated keys.
- getIdentifierQuoteString() - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- getIdentifierQuoteString() - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Get the string used to quote SQL identifiers.
- getIdentityStatement() - Method in class org.springframework.jdbc.support.incrementer.AbstractIdentityColumnMaxValueIncrementer
-
Statement to use to obtain the current identity value.
- getIdentityStatement() - Method in class org.springframework.jdbc.support.incrementer.DerbyMaxValueIncrementer
- getIdentityStatement() - Method in class org.springframework.jdbc.support.incrementer.HsqlMaxValueIncrementer
- getIdentityStatement() - Method in class org.springframework.jdbc.support.incrementer.MySQLIdentityColumnMaxValueIncrementer
- getIdentityStatement() - Method in class org.springframework.jdbc.support.incrementer.SqlServerMaxValueIncrementer
- getIdentityStatement() - Method in class org.springframework.jdbc.support.incrementer.SybaseMaxValueIncrementer
- getIncrementerName() - Method in class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
-
Return the name of the sequence/table.
- getIncrementStatement() - Method in class org.springframework.jdbc.support.incrementer.AbstractIdentityColumnMaxValueIncrementer
-
Statement to use to increment the "sequence" value.
- getIncrementStatement() - Method in class org.springframework.jdbc.support.incrementer.DerbyMaxValueIncrementer
- getIncrementStatement() - Method in class org.springframework.jdbc.support.incrementer.HsqlMaxValueIncrementer
- getIncrementStatement() - Method in class org.springframework.jdbc.support.incrementer.MySQLIdentityColumnMaxValueIncrementer
- getIncrementStatement() - Method in class org.springframework.jdbc.support.incrementer.SqlServerMaxValueIncrementer
- getIncrementStatement() - Method in class org.springframework.jdbc.support.incrementer.SybaseAnywhereMaxValueIncrementer
- getIncrementStatement() - Method in class org.springframework.jdbc.support.incrementer.SybaseMaxValueIncrementer
- getInParameterNames() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Get the names of in parameters to be used.
- getInsertString() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Get the insert string to be used.
- getInsertTypes() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Get the array of
Types
to be used for insert. - getInstance() - Static method in class org.springframework.jdbc.support.CustomSQLExceptionTranslatorRegistry
-
Return the singleton instance.
- getInstance() - Static method in class org.springframework.jdbc.support.SQLErrorCodesFactory
-
Return the singleton instance.
- getInt(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getInt(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as an int.
- getInt(String) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getInt(String) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as an int.
- getInvalidResultSetAccessCodes() - Method in class org.springframework.jdbc.support.SQLErrorCodes
- getIsolationLevel() - Method in class org.springframework.jdbc.datasource.IsolationLevelDataSourceAdapter
-
Return the statically specified isolation level, or
null
if none. - getJdbcOperations() - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Expose the classic Spring JdbcTemplate to allow invocation of classic JDBC operations.
- getJdbcOperations() - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
-
Expose the classic Spring JdbcTemplate operations to allow invocation of less commonly used methods.
- getJdbcTemplate() - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
-
Expose the classic Spring
JdbcTemplate
itself, if available, in particular for passing it on to otherJdbcTemplate
consumers. - getJdbcTemplate() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Get the configured
JdbcTemplate
. - getJdbcTemplate() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Get the configured
JdbcTemplate
. - getJdbcTemplate() - Method in class org.springframework.jdbc.core.support.JdbcDaoSupport
-
Return the JdbcTemplate for this DAO, pre-initialized with the DataSource or set explicitly.
- getJdbcTemplate() - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Return the
JdbcTemplate
used by this operation object. - getKey() - Method in class org.springframework.jdbc.support.GeneratedKeyHolder
- getKey() - Method in interface org.springframework.jdbc.support.KeyHolder
-
Retrieve the first item from the first map, assuming that there is just one item and just one map, and that the item is a number.
- getKeyAs(Class<T>) - Method in class org.springframework.jdbc.support.GeneratedKeyHolder
- getKeyAs(Class<T>) - Method in interface org.springframework.jdbc.support.KeyHolder
-
Retrieve the first item from the first map, assuming that there is just one item and just one map, and that the item is an instance of specified type.
- getKeyList() - Method in class org.springframework.jdbc.support.GeneratedKeyHolder
- getKeyList() - Method in interface org.springframework.jdbc.support.KeyHolder
-
Return a reference to the List that contains the keys.
- getKeys() - Method in class org.springframework.jdbc.support.GeneratedKeyHolder
- getKeys() - Method in interface org.springframework.jdbc.support.KeyHolder
-
Retrieve the first map of keys.
- getLimitedInParameterNames() - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Get the limited set of the
in
parameters to be used. - getLobCreator() - Method in class org.springframework.jdbc.support.lob.DefaultLobHandler
-
Deprecated.
- getLobCreator() - Method in interface org.springframework.jdbc.support.lob.LobHandler
-
Deprecated.Create a new
LobCreator
instance, i.e. - getLoginTimeout() - Method in class org.springframework.jdbc.datasource.AbstractDataSource
-
Returns 0, indicating the default system timeout is to be used.
- getLoginTimeout() - Method in class org.springframework.jdbc.datasource.DelegatingDataSource
- getLogWriter() - Method in class org.springframework.jdbc.datasource.AbstractDataSource
-
LogWriter methods are not supported.
- getLogWriter() - Method in class org.springframework.jdbc.datasource.DelegatingDataSource
- getLong(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getLong(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a long.
- getLong(String) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getLong(String) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a long.
- getMappedClass() - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Get the class that we are mapping to.
- getMaxRows() - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Return the maximum number of rows specified for this JdbcTemplate.
- getMetaData() - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getMetaData() - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the meta-data, i.e.
- getName() - Method in class org.springframework.jdbc.core.SqlParameter
-
Return the name of the parameter, or
null
if anonymous. - getNamedParameterJdbcTemplate() - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcDaoSupport
-
Return a NamedParameterJdbcTemplate wrapping the configured JdbcTemplate.
- getNextKey() - Method in class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
-
Determine the next key to use, as a long.
- getNextKey() - Method in class org.springframework.jdbc.support.incrementer.AbstractIdentityColumnMaxValueIncrementer
- getNextKey() - Method in class org.springframework.jdbc.support.incrementer.AbstractSequenceMaxValueIncrementer
-
Executes the SQL as specified by
AbstractSequenceMaxValueIncrementer.getSequenceQuery()
. - getNextKey() - Method in class org.springframework.jdbc.support.incrementer.MySQLMaxValueIncrementer
- getNoopOutputStream() - Static method in class org.springframework.jdbc.datasource.embedded.OutputStreamFactory
-
Returns an
OutputStream
that ignores all data given to it. - getNString(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getNString(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a String (for NCHAR, NVARCHAR, LONGNVARCHAR columns).
- getNString(String) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getNString(String) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a String (for NCHAR, NVARCHAR, LONGNVARCHAR columns).
- getObject() - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactoryBean
- getObject(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getObject(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as an Object.
- getObject(int, Class<T>) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getObject(int, Class<T>) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as an Object.
- getObject(int, Map<String, Class<?>>) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getObject(int, Map<String, Class<?>>) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as an Object.
- getObject(String) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getObject(String) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as an Object.
- getObject(String, Class<T>) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getObject(String, Class<T>) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as an Object.
- getObject(String, Map<String, Class<?>>) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getObject(String, Map<String, Class<?>>) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as an Object.
- getObjectType() - Method in class org.springframework.jdbc.config.SortedResourcesFactoryBean
- getObjectType() - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactoryBean
- getOriginalException() - Method in exception class org.springframework.jdbc.core.AggregatedBatchUpdateException
-
Return the original
BatchUpdateException
that this exception aggregates. - getOutParameterNames() - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Get the list of the
out
parameter names. - getPaddingLength() - Method in class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
-
Return the padding length for String values.
- getParameterName() - Method in class org.springframework.jdbc.core.metadata.CallParameterMetaData
-
Return the parameter name.
- getParameterName() - Method in class org.springframework.jdbc.core.metadata.TableParameterMetaData
-
Get the parameter name.
- getParameterNames() - Method in class org.springframework.jdbc.core.namedparam.BeanPropertySqlParameterSource
- getParameterNames() - Method in class org.springframework.jdbc.core.namedparam.EmptySqlParameterSource
- getParameterNames() - Method in class org.springframework.jdbc.core.namedparam.MapSqlParameterSource
- getParameterNames() - Method in interface org.springframework.jdbc.core.namedparam.SqlParameterSource
-
Enumerate all available parameter names if possible.
- getParameterType() - Method in class org.springframework.jdbc.core.metadata.CallParameterMetaData
-
Return the parameter type.
- getParentLogger() - Method in class org.springframework.jdbc.datasource.AbstractDataSource
- getParentLogger() - Method in class org.springframework.jdbc.datasource.DelegatingDataSource
- getParsedSql() - Method in class org.springframework.jdbc.object.SqlOperation
-
Obtain a parsed representation of this operation's SQL statement.
- getParsedSql(String) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
-
Obtain a parsed representation of the given SQL statement.
- getPassword() - Method in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
-
Return the JDBC password to use for connecting through the Driver.
- getPermissionDeniedCodes() - Method in class org.springframework.jdbc.support.SQLErrorCodes
- getPrecision(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
- getPrecision(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSetMetaData
-
Retrieve the precision for the indicated column.
- getPreparedStatementCreator(String, SqlParameterSource) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
-
Build a
PreparedStatementCreator
based on the given SQL and named parameters. - getPreparedStatementCreator(String, SqlParameterSource, Consumer<PreparedStatementCreatorFactory>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
-
Build a
PreparedStatementCreator
based on the given SQL and named parameters. - getPreparedStatementCreatorFactory(ParsedSql, SqlParameterSource) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
-
Build a
PreparedStatementCreatorFactory
based on the given SQL and named parameters. - getPreviousIsolationLevel() - Method in class org.springframework.jdbc.datasource.JdbcTransactionObjectSupport
-
Return the retained previous isolation level, if any.
- getProcedureName() - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Get the name of the procedure.
- getProcedureName() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Get the name of the stored procedure.
- getQueryTimeout() - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Return the query timeout for statements that this JdbcTemplate executes.
- getQueueCount() - Method in class org.springframework.jdbc.object.BatchSqlUpdate
-
Return the current number of statements or statement parameters in the queue.
- getReadablePropertyNames() - Method in class org.springframework.jdbc.core.namedparam.BeanPropertySqlParameterSource
-
Provide access to the property names of the wrapped bean.
- getRefCursorSqlType() - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Get the
Types
type for columns that return ResultSets as ref cursors if this feature is supported. - getRefCursorSqlType() - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- getRefCursorSqlType() - Method in class org.springframework.jdbc.core.metadata.OracleCallMetaDataProvider
- getRefCursorSqlType() - Method in class org.springframework.jdbc.core.metadata.PostgresCallMetaDataProvider
- getResolvedDataSources() - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
-
Return the resolved target DataSources that this router manages.
- getResolvedDefaultDataSource() - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
-
Return the resolved default target DataSource, if any.
- getResourceFactory() - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
- getResultSet() - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
-
Return the underlying ResultSet (usually a
javax.sql.rowset.CachedRowSet
). - getResultSetExtractor() - Method in class org.springframework.jdbc.core.ResultSetSupportingSqlParameter
-
Return the ResultSetExtractor held by this parameter, if any.
- getResultSetType() - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Return whether statements will return a specific type of ResultSet.
- getResultSetValue(ResultSet, int) - Static method in class org.springframework.jdbc.support.JdbcUtils
-
Retrieve a JDBC column value from a ResultSet, using the most appropriate value type.
- getResultSetValue(ResultSet, int, Class<?>) - Static method in class org.springframework.jdbc.support.JdbcUtils
-
Retrieve a JDBC column value from a ResultSet, using the specified value type.
- getRow() - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getRow() - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the current row number.
- getRowCallbackHandler() - Method in class org.springframework.jdbc.core.ResultSetSupportingSqlParameter
-
Return the RowCallbackHandler held by this parameter, if any.
- getRowCount() - Method in class org.springframework.jdbc.core.RowCountCallbackHandler
-
Return the row count of this ResultSet.
- getRowMapper() - Method in class org.springframework.jdbc.core.ResultSetSupportingSqlParameter
-
Return the RowMapper held by this parameter, if any.
- getRowsAffected() - Method in class org.springframework.jdbc.object.BatchSqlUpdate
-
Return the number of affected rows for all already executed statements.
- getScalarOutParameterName() - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Get the name of the single out parameter for this call.
- getScalarOutParameterName() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Get the name of a single out parameter or return value.
- getScale() - Method in class org.springframework.jdbc.core.SqlParameter
-
Return the scale of the parameter, if any.
- getScale(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
- getScale(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSetMetaData
-
Retrieve the scale of the indicated column.
- getSchema() - Method in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
-
Return the database schema to be applied to each Connection, if any.
- getSchemaName() - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Get the name of the schema.
- getSchemaName() - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Get the name of the schema for this context.
- getSchemaName() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Get the schema name used.
- getSchemaName() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Get the name of the schema for this insert.
- getSchemaName(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
- getSchemaName(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSetMetaData
-
Retrieve the schema name of the table that served as the source for the specified column.
- getSequenceQuery() - Method in class org.springframework.jdbc.support.incrementer.AbstractSequenceMaxValueIncrementer
-
Return the database-specific query to use for retrieving a sequence value.
- getSequenceQuery() - Method in class org.springframework.jdbc.support.incrementer.Db2LuwMaxValueIncrementer
- getSequenceQuery() - Method in class org.springframework.jdbc.support.incrementer.Db2MainframeMaxValueIncrementer
- getSequenceQuery() - Method in class org.springframework.jdbc.support.incrementer.H2SequenceMaxValueIncrementer
- getSequenceQuery() - Method in class org.springframework.jdbc.support.incrementer.HanaSequenceMaxValueIncrementer
- getSequenceQuery() - Method in class org.springframework.jdbc.support.incrementer.HsqlSequenceMaxValueIncrementer
- getSequenceQuery() - Method in class org.springframework.jdbc.support.incrementer.MariaDBSequenceMaxValueIncrementer
- getSequenceQuery() - Method in class org.springframework.jdbc.support.incrementer.OracleSequenceMaxValueIncrementer
- getSequenceQuery() - Method in class org.springframework.jdbc.support.incrementer.PostgresSequenceMaxValueIncrementer
- getSequenceQuery() - Method in class org.springframework.jdbc.support.incrementer.SqlServerSequenceMaxValueIncrementer
- getShardingKey() - Method in interface org.springframework.jdbc.datasource.ShardingKeyProvider
-
Determine the sharding key.
- getShort(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getShort(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a short.
- getShort(String) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getShort(String) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a short.
- getSimpleQueryForGetGeneratedKey(String, String) - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- getSimpleQueryForGetGeneratedKey(String, String) - Method in class org.springframework.jdbc.core.metadata.HsqlTableMetaDataProvider
- getSimpleQueryForGetGeneratedKey(String, String) - Method in class org.springframework.jdbc.core.metadata.PostgresTableMetaDataProvider
- getSimpleQueryForGetGeneratedKey(String, String) - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Get the simple query to retrieve generated keys when the JDBC feature for retrieving generated keys is not supported.
- getSimpleQueryForGetGeneratedKey(String, String) - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Get the simple query to retrieve generated keys when the JDBC feature for retrieving generated keys is not supported.
- getSingleColumnRowMapper(Class<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Create a new RowMapper for reading result objects from a single column.
- getSql() - Method in exception class org.springframework.jdbc.BadSqlGrammarException
-
Return the SQL that caused the problem.
- getSql() - Method in class org.springframework.jdbc.core.PreparedStatementCreatorFactory
-
Return the SQL statement to execute.
- getSql() - Method in interface org.springframework.jdbc.core.SqlProvider
-
Return the SQL string for this object, i.e.
- getSql() - Method in exception class org.springframework.jdbc.InvalidResultSetAccessException
-
Return the SQL that caused the problem.
- getSql() - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Subclasses can override this to supply dynamic SQL if they wish, but SQL is normally set by calling the
RdbmsOperation.setSql(java.lang.String)
method or in a subclass constructor. - getSql() - Method in exception class org.springframework.jdbc.UncategorizedSQLException
-
Return the SQL that led to the problem (if known).
- getSqlErrorCodes() - Method in class org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator
-
Return the error codes used by this translator.
- getSQLException() - Method in exception class org.springframework.jdbc.BadSqlGrammarException
-
Return the wrapped SQLException.
- getSQLException() - Method in exception class org.springframework.jdbc.InvalidResultSetAccessException
-
Return the wrapped SQLException.
- getSQLException() - Method in exception class org.springframework.jdbc.UncategorizedSQLException
-
Return the underlying SQLException.
- getSqlReturnType() - Method in class org.springframework.jdbc.core.SqlOutParameter
-
Return the custom return type, if any.
- getSqlType() - Method in class org.springframework.jdbc.core.metadata.CallParameterMetaData
-
Return the parameter SQL type.
- getSqlType() - Method in class org.springframework.jdbc.core.metadata.TableParameterMetaData
-
Get the parameter SQL type.
- getSqlType() - Method in class org.springframework.jdbc.core.SqlParameter
-
Return the SQL type of the parameter.
- getSqlType(String) - Method in class org.springframework.jdbc.core.namedparam.AbstractSqlParameterSource
-
Return the SQL type for the given parameter, if registered.
- getSqlType(String) - Method in class org.springframework.jdbc.core.namedparam.BeanPropertySqlParameterSource
-
Derives a default SQL type from the corresponding property type.
- getSqlType(String) - Method in class org.springframework.jdbc.core.namedparam.EmptySqlParameterSource
- getSqlType(String) - Method in class org.springframework.jdbc.core.namedparam.SimplePropertySqlParameterSource
-
Derives a default SQL type from the corresponding property type.
- getSqlType(String) - Method in interface org.springframework.jdbc.core.namedparam.SqlParameterSource
-
Determine the SQL type for the specified named parameter.
- getSQLWarning() - Method in exception class org.springframework.jdbc.SQLWarningException
-
Return the underlying
SQLWarning
. - getString(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getString(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a String.
- getString(String) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getString(String) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a String.
- getSuccessfulUpdateCounts() - Method in exception class org.springframework.jdbc.core.AggregatedBatchUpdateException
-
Return the batches that have completed successfully, prior to this exception.
- getSuperShardingKey() - Method in interface org.springframework.jdbc.datasource.ShardingKeyProvider
-
Determine the super sharding key, if any.
- getTableColumns() - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Get a List of the table column names.
- getTableName() - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Get the name of the table for this context.
- getTableName() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Get the name of the table for this insert.
- getTableName(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
- getTableName(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSetMetaData
-
Retrieve the name of the table that served as the source for the specified column.
- getTableParameterMetaData() - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- getTableParameterMetaData() - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Get the table parameter meta-data that is currently used.
- getTargetConnection() - Method in interface org.springframework.jdbc.datasource.ConnectionProxy
-
Return the target Connection of this proxy.
- getTargetConnection(Connection) - Static method in class org.springframework.jdbc.datasource.DataSourceUtils
-
Return the innermost target Connection of the given Connection.
- getTargetDataSource() - Method in class org.springframework.jdbc.datasource.DelegatingDataSource
-
Return the target DataSource that this DataSource should delegate to.
- getTime(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getTime(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a Time object.
- getTime(int, Calendar) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getTime(int, Calendar) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a Time object.
- getTime(String) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getTime(String) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a Time object.
- getTime(String, Calendar) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getTime(String, Calendar) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a Time object.
- getTimestamp(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getTimestamp(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a Timestamp object.
- getTimestamp(int, Calendar) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getTimestamp(int, Calendar) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a Timestamp object.
- getTimestamp(String) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getTimestamp(String) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a Timestamp object.
- getTimestamp(String, Calendar) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- getTimestamp(String, Calendar) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve the value of the indicated column in the current row as a Timestamp object.
- getTransactionAwareConnectionProxy(DataSource) - Method in class org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy
-
Wraps the given Connection with a proxy that delegates every method call to it but delegates
close()
calls to DataSourceUtils. - getTransientDataAccessResourceCodes() - Method in class org.springframework.jdbc.support.SQLErrorCodes
- getTypedValue(SqlParameterSource, String) - Static method in class org.springframework.jdbc.core.namedparam.SqlParameterSourceUtils
-
Create a wrapped value if parameter has type information, plain object if not.
- getTypeName() - Method in class org.springframework.jdbc.core.metadata.CallParameterMetaData
-
Return the parameter type name.
- getTypeName() - Method in class org.springframework.jdbc.core.SqlParameter
-
Return the type name of the parameter, if any.
- getTypeName(String) - Method in class org.springframework.jdbc.core.namedparam.AbstractSqlParameterSource
-
Return the type name for the given parameter, if registered.
- getTypeName(String) - Method in class org.springframework.jdbc.core.namedparam.EmptySqlParameterSource
- getTypeName(String) - Method in interface org.springframework.jdbc.core.namedparam.SqlParameterSource
-
Determine the type name for the specified named parameter.
- getTypeValue(CallableStatement, int, int, String) - Method in interface org.springframework.jdbc.core.SqlReturnType
-
Get the type value from the specific object.
- getUrl() - Method in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
-
Return the JDBC URL to use for connecting through the Driver.
- getUsername() - Method in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
-
Return the JDBC username to use for connecting through the Driver.
- getUserName() - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Get the name of the current user.
- getUserName() - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- getValue() - Method in class org.springframework.jdbc.core.SqlParameterValue
-
Return the value object that this parameter value holds.
- getValue(String) - Method in class org.springframework.jdbc.core.namedparam.BeanPropertySqlParameterSource
- getValue(String) - Method in class org.springframework.jdbc.core.namedparam.EmptySqlParameterSource
- getValue(String) - Method in class org.springframework.jdbc.core.namedparam.MapSqlParameterSource
- getValue(String) - Method in class org.springframework.jdbc.core.namedparam.SimplePropertySqlParameterSource
- getValue(String) - Method in interface org.springframework.jdbc.core.namedparam.SqlParameterSource
-
Return the parameter value for the requested named parameter.
- getValues() - Method in class org.springframework.jdbc.core.namedparam.MapSqlParameterSource
-
Expose the current parameter values as read-only Map.
- getXmlAsBinaryStream(ResultSet, int) - Method in class org.springframework.jdbc.support.xml.Jdbc4SqlXmlHandler
-
Deprecated.
- getXmlAsBinaryStream(ResultSet, int) - Method in interface org.springframework.jdbc.support.xml.SqlXmlHandler
-
Deprecated.Retrieve the given column as binary stream from the given ResultSet.
- getXmlAsBinaryStream(ResultSet, String) - Method in class org.springframework.jdbc.support.xml.Jdbc4SqlXmlHandler
-
Deprecated.
- getXmlAsBinaryStream(ResultSet, String) - Method in interface org.springframework.jdbc.support.xml.SqlXmlHandler
-
Deprecated.Retrieve the given column as binary stream from the given ResultSet.
- getXmlAsCharacterStream(ResultSet, int) - Method in class org.springframework.jdbc.support.xml.Jdbc4SqlXmlHandler
-
Deprecated.
- getXmlAsCharacterStream(ResultSet, int) - Method in interface org.springframework.jdbc.support.xml.SqlXmlHandler
-
Deprecated.Retrieve the given column as character stream from the given ResultSet.
- getXmlAsCharacterStream(ResultSet, String) - Method in class org.springframework.jdbc.support.xml.Jdbc4SqlXmlHandler
-
Deprecated.
- getXmlAsCharacterStream(ResultSet, String) - Method in interface org.springframework.jdbc.support.xml.SqlXmlHandler
-
Deprecated.Retrieve the given column as character stream from the given ResultSet.
- getXmlAsSource(ResultSet, int, Class<? extends Source>) - Method in class org.springframework.jdbc.support.xml.Jdbc4SqlXmlHandler
-
Deprecated.
- getXmlAsSource(ResultSet, int, Class<? extends Source>) - Method in interface org.springframework.jdbc.support.xml.SqlXmlHandler
-
Deprecated.Retrieve the given column as Source implemented using the specified source class from the given ResultSet.
- getXmlAsSource(ResultSet, String, Class<? extends Source>) - Method in class org.springframework.jdbc.support.xml.Jdbc4SqlXmlHandler
-
Deprecated.
- getXmlAsSource(ResultSet, String, Class<? extends Source>) - Method in interface org.springframework.jdbc.support.xml.SqlXmlHandler
-
Deprecated.Retrieve the given column as Source implemented using the specified source class from the given ResultSet.
- getXmlAsString(ResultSet, int) - Method in class org.springframework.jdbc.support.xml.Jdbc4SqlXmlHandler
-
Deprecated.
- getXmlAsString(ResultSet, int) - Method in interface org.springframework.jdbc.support.xml.SqlXmlHandler
-
Deprecated.Retrieve the given column as String from the given ResultSet.
- getXmlAsString(ResultSet, String) - Method in class org.springframework.jdbc.support.xml.Jdbc4SqlXmlHandler
-
Deprecated.
- getXmlAsString(ResultSet, String) - Method in interface org.springframework.jdbc.support.xml.SqlXmlHandler
-
Deprecated.Retrieve the given column as String from the given ResultSet.
H
- H2 - Enum constant in enum class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType
-
The H2 Embedded Java SQL Database Engine.
- H2SequenceMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that retrieves the next value of a given H2 sequence. - H2SequenceMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.H2SequenceMaxValueIncrementer
-
Default constructor for bean property style usage.
- H2SequenceMaxValueIncrementer(DataSource, String) - Constructor for class org.springframework.jdbc.support.incrementer.H2SequenceMaxValueIncrementer
-
Convenience constructor.
- HanaCallMetaDataProvider - Class in org.springframework.jdbc.core.metadata
-
SAP HANA specific implementation for the
CallMetaDataProvider
interface. - HanaCallMetaDataProvider(DatabaseMetaData) - Constructor for class org.springframework.jdbc.core.metadata.HanaCallMetaDataProvider
- HanaSequenceMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that retrieves the next value of a given SAP HANA sequence. - HanaSequenceMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.HanaSequenceMaxValueIncrementer
-
Default constructor for bean property style usage.
- HanaSequenceMaxValueIncrementer(DataSource, String) - Constructor for class org.springframework.jdbc.support.incrementer.HanaSequenceMaxValueIncrementer
-
Convenience constructor.
- handleMultipleRowsFound() - Method in class org.springframework.jdbc.core.support.AbstractLobStreamingResultSetExtractor
-
Deprecated.Handle the case where the ResultSet contains multiple rows.
- handleNoRowFound() - Method in class org.springframework.jdbc.core.support.AbstractLobStreamingResultSetExtractor
-
Deprecated.Handle the case where the ResultSet does not contain a row.
- handleWarnings(SQLWarning) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Throw a
SQLWarningException
if encountering an actual warning. - handleWarnings(Statement) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Handle the warnings for the given JDBC statement, if any.
- handleWarnings(Statement, SQLException) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Handle warnings before propagating a primary
SQLException
from executing the given statement. - hasConnection() - Method in class org.springframework.jdbc.datasource.ConnectionHolder
-
Return whether this holder currently has a Connection.
- hasConnectionHolder() - Method in class org.springframework.jdbc.datasource.JdbcTransactionObjectSupport
-
Check whether this transaction object has a ConnectionHolder.
- hasValue(String) - Method in class org.springframework.jdbc.core.namedparam.BeanPropertySqlParameterSource
- hasValue(String) - Method in class org.springframework.jdbc.core.namedparam.EmptySqlParameterSource
- hasValue(String) - Method in class org.springframework.jdbc.core.namedparam.MapSqlParameterSource
- hasValue(String) - Method in class org.springframework.jdbc.core.namedparam.SimplePropertySqlParameterSource
- hasValue(String) - Method in interface org.springframework.jdbc.core.namedparam.SqlParameterSource
-
Determine whether there is a value for the specified named parameter.
- hasValues() - Method in class org.springframework.jdbc.core.namedparam.MapSqlParameterSource
-
Return whether this parameter source has been configured with any values.
- HSQL - Enum constant in enum class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType
-
The Hypersonic Embedded Java SQL Database.
- HsqlMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that increments the maximum value of a given HSQL table with the equivalent of an auto-increment column. - HsqlMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.HsqlMaxValueIncrementer
-
Default constructor for bean property style usage.
- HsqlMaxValueIncrementer(DataSource, String, String) - Constructor for class org.springframework.jdbc.support.incrementer.HsqlMaxValueIncrementer
-
Convenience constructor.
- HsqlSequenceMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that retrieves the next value of a given HSQL sequence. - HsqlSequenceMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.HsqlSequenceMaxValueIncrementer
-
Default constructor for bean property style usage.
- HsqlSequenceMaxValueIncrementer(DataSource, String) - Constructor for class org.springframework.jdbc.support.incrementer.HsqlSequenceMaxValueIncrementer
-
Convenience constructor.
- HsqlTableMetaDataProvider - Class in org.springframework.jdbc.core.metadata
-
The HSQL specific implementation of
TableMetaDataProvider
. - HsqlTableMetaDataProvider(DatabaseMetaData) - Constructor for class org.springframework.jdbc.core.metadata.HsqlTableMetaDataProvider
I
- IGNORE_GETPARAMETERTYPE_PROPERTY_NAME - Static variable in class org.springframework.jdbc.core.StatementCreatorUtils
-
System property that instructs Spring to ignore
ParameterMetaData.getParameterType(int)
completely, i.e. - ignoreFailedDrops(boolean) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Specify that a failed SQL
DROP
statement within an executed script can be ignored. - includeSynonymsForTableColumnMetaData() - Method in class org.springframework.jdbc.core.simple.SimpleJdbcInsert
- includeSynonymsForTableColumnMetaData() - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcInsertOperations
-
Include synonyms for the column meta-data lookups via JDBC.
- IncorrectResultSetColumnCountException - Exception Class in org.springframework.jdbc
-
Data access exception thrown when a result set did not have the correct column count, for example when expecting a single column but getting 0 or more than 1 column.
- IncorrectResultSetColumnCountException(int, int) - Constructor for exception class org.springframework.jdbc.IncorrectResultSetColumnCountException
-
Constructor for IncorrectResultSetColumnCountException.
- IncorrectResultSetColumnCountException(String, int, int) - Constructor for exception class org.springframework.jdbc.IncorrectResultSetColumnCountException
-
Constructor for IncorrectResultCountDataAccessException.
- init() - Method in class org.springframework.jdbc.config.JdbcNamespaceHandler
- initBeanWrapper(BeanWrapper) - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Initialize the given BeanWrapper to be used for row mapping.
- initConnection() - Method in class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Initialize the underlying Connection via the DriverManager.
- initDatabase() - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory
-
Hook to initialize the embedded database.
- initialize() - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
-
Initialize the internal state of this
AbstractRoutingDataSource
by resolving the configured target DataSources. - initialize(Class<T>) - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Initialize the mapping meta-data for the given class.
- initialize(Class<T>) - Method in class org.springframework.jdbc.core.DataClassRowMapper
- initializeMetaData(DataSource) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Initialize this class with meta-data from the database.
- initializeWithMetaData(DatabaseMetaData) - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Initialize using the provided DatabaseMetData.
- initializeWithMetaData(DatabaseMetaData) - Method in class org.springframework.jdbc.core.metadata.Db2CallMetaDataProvider
- initializeWithMetaData(DatabaseMetaData) - Method in class org.springframework.jdbc.core.metadata.DerbyTableMetaDataProvider
- initializeWithMetaData(DatabaseMetaData) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- initializeWithMetaData(DatabaseMetaData) - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- initializeWithMetaData(DatabaseMetaData) - Method in class org.springframework.jdbc.core.metadata.HanaCallMetaDataProvider
- initializeWithMetaData(DatabaseMetaData) - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Initialize using the database meta-data provided.
- initializeWithProcedureColumnMetaData(DatabaseMetaData, String, String, String) - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Initialize the database specific management of procedure column meta-data.
- initializeWithProcedureColumnMetaData(DatabaseMetaData, String, String, String) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- initializeWithTableColumnMetaData(DatabaseMetaData, String, String, String) - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- initializeWithTableColumnMetaData(DatabaseMetaData, String, String, String) - Method in class org.springframework.jdbc.core.metadata.OracleTableMetaDataProvider
- initializeWithTableColumnMetaData(DatabaseMetaData, String, String, String) - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Initialize using provided database meta-data, table and column information.
- initTemplateConfig() - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcDaoSupport
-
Create a NamedParameterJdbcTemplate based on the configured JdbcTemplate.
- initTemplateConfig() - Method in class org.springframework.jdbc.core.support.JdbcDaoSupport
-
Initialize the template-based configuration of this DAO.
- INSTANCE - Static variable in class org.springframework.jdbc.core.namedparam.EmptySqlParameterSource
-
A shared instance of
EmptySqlParameterSource
. - InterruptibleBatchPreparedStatementSetter - Interface in org.springframework.jdbc.core
-
Extension of the
BatchPreparedStatementSetter
interface, adding a batch exhaustion check. - InvalidResultSetAccessException - Exception Class in org.springframework.jdbc
-
Exception thrown when a ResultSet has been accessed in an invalid fashion.
- InvalidResultSetAccessException(String, String, SQLException) - Constructor for exception class org.springframework.jdbc.InvalidResultSetAccessException
-
Constructor for InvalidResultSetAccessException.
- InvalidResultSetAccessException(SQLException) - Constructor for exception class org.springframework.jdbc.InvalidResultSetAccessException
-
Constructor for InvalidResultSetAccessException.
- isAccessCallParameterMetaData() - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Check whether call parameter meta-data should be accessed.
- isAccessTableColumnMetaData() - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Are we accessing table meta-data?
- isAfterLast() - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- isAfterLast() - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve whether the cursor is after the last row of this row set.
- isBatchExhausted(int) - Method in interface org.springframework.jdbc.core.InterruptibleBatchPreparedStatementSetter
-
Return whether the batch is complete, that is, whether there were no additional values added during the last
setValues
call. - isBatchExhausted(int) - Method in class org.springframework.jdbc.core.support.AbstractInterruptibleBatchPreparedStatementSetter
-
This implementation return this instance's current exhaustion flag.
- isBeforeFirst() - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- isBeforeFirst() - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve whether the cursor is before the first row of this row set.
- isCaseSensitive(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
- isCaseSensitive(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSetMetaData
-
Indicate whether the case of the designated column is significant.
- isCheckFullyPopulated() - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Return whether we're strictly validating that all bean properties have been mapped from corresponding database columns.
- isCompiled() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Is this operation "compiled"?
- isCompiled() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Is this operation "compiled"?
- isCompiled() - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Is this operation "compiled"? Compilation, as in JDO, means that the operation is fully configured, and ready to use.
- isConnectionTransactional(Connection, DataSource) - Static method in class org.springframework.jdbc.datasource.DataSourceUtils
-
Determine whether the given JDBC Connection is transactional, that is, bound to the current thread by Spring's transaction facilities.
- isCurrency(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
- isCurrency(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSetMetaData
-
Indicate whether the designated column contains a currency value.
- isDeleteSpecificValues() - Method in class org.springframework.jdbc.support.incrementer.AbstractIdentityColumnMaxValueIncrementer
-
Return whether to delete the entire range below the current maximum key value (
false
- the default), or the specifically generated values (true
). - isEnforceReadOnly() - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
-
Return whether to enforce the read-only nature of a transaction through an explicit statement on the transactional connection.
- isExistingTransaction(Object) - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
- isFirst() - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- isFirst() - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve whether the cursor is on the first row of this row set.
- isFunction() - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Check whether this call is a function call.
- isFunction() - Method in class org.springframework.jdbc.core.metadata.CallParameterMetaData
-
Return whether this parameter is declared in a function.
- isFunction() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Is this call a function call?
- isFunction() - Method in class org.springframework.jdbc.object.SqlCall
-
Return whether this call is for a function.
- isGeneratedKeysColumnNameArraySupported() - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- isGeneratedKeysColumnNameArraySupported() - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Does this database support a column name String array for retrieving generated keys?
- isGeneratedKeysColumnNameArraySupported() - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Does this database support a column name String array for retrieving generated keys?
- isGetGeneratedKeysSimulated() - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- isGetGeneratedKeysSimulated() - Method in class org.springframework.jdbc.core.metadata.HsqlTableMetaDataProvider
- isGetGeneratedKeysSimulated() - Method in class org.springframework.jdbc.core.metadata.PostgresTableMetaDataProvider
- isGetGeneratedKeysSimulated() - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Does this database support a simple query to retrieve generated keys when the JDBC feature for retrieving generated keys is not supported?
- isGetGeneratedKeysSimulated() - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Does this database support a simple query to retrieve generated keys when the JDBC feature for retrieving generated keys is not supported?
- isGetGeneratedKeysSupported() - Method in class org.springframework.jdbc.core.metadata.DerbyTableMetaDataProvider
- isGetGeneratedKeysSupported() - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- isGetGeneratedKeysSupported() - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Does this database support the JDBC feature for retrieving generated keys?
- isGetGeneratedKeysSupported() - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Does this database support the JDBC feature for retrieving generated keys?
- isIgnoreWarnings() - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Return whether we ignore SQLWarnings.
- isInOutParameter() - Method in class org.springframework.jdbc.core.metadata.CallParameterMetaData
-
Determine whether the declared parameter qualifies as an 'in-out' parameter for our purposes: type
DatabaseMetaData.procedureColumnInOut
, or in case of a function,DatabaseMetaData.functionColumnInOut
. - isInputValueProvided() - Method in class org.springframework.jdbc.core.ResultSetSupportingSqlParameter
-
This implementation always returns
false
. - isInputValueProvided() - Method in class org.springframework.jdbc.core.SqlInOutParameter
-
This implementation always returns
true
. - isInputValueProvided() - Method in class org.springframework.jdbc.core.SqlParameter
-
Return whether this parameter holds input values that should be set before execution even if they are
null
. - isInputValueProvided() - Method in class org.springframework.jdbc.core.SqlReturnUpdateCount
-
This implementation always returns
false
. - isLast() - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- isLast() - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Retrieve whether the cursor is on the last row of this row set.
- isLazyInit() - Method in class org.springframework.jdbc.support.JdbcAccessor
-
Return whether to lazily initialize the SQLExceptionTranslator for this accessor.
- isLazyInit() - Method in class org.springframework.jdbc.support.JdbcTransactionManager
-
Return whether to lazily initialize the SQLExceptionTranslator for this transaction manager.
- isNamedBinding() - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Check whether parameters should be bound by name.
- isNamedBinding() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Should parameters be bound by name?
- isNullable() - Method in class org.springframework.jdbc.core.metadata.CallParameterMetaData
-
Return whether the parameter is nullable.
- isNullable() - Method in class org.springframework.jdbc.core.metadata.TableParameterMetaData
-
Get whether the parameter/column is nullable.
- isNumeric(int) - Static method in class org.springframework.jdbc.support.JdbcUtils
-
Check whether the given SQL type is numeric.
- IsolationLevelDataSourceAdapter - Class in org.springframework.jdbc.datasource
-
An adapter for a target
DataSource
, applying the current Spring transaction's isolation level (and potentially specified user credentials) to everygetConnection
call. - IsolationLevelDataSourceAdapter() - Constructor for class org.springframework.jdbc.datasource.IsolationLevelDataSourceAdapter
- IsolationLevelDataSourceRouter - Class in org.springframework.jdbc.datasource.lookup
-
DataSource that routes to one of various target DataSources based on the current transaction isolation level.
- IsolationLevelDataSourceRouter() - Constructor for class org.springframework.jdbc.datasource.lookup.IsolationLevelDataSourceRouter
- isOutParameter() - Method in class org.springframework.jdbc.core.metadata.CallParameterMetaData
-
Determine whether the declared parameter qualifies as an 'out' parameter for our purposes: type
DatabaseMetaData.procedureColumnOut
, or in case of a function,DatabaseMetaData.functionColumnOut
. - isOverrideIncludeSynonymsDefault() - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Are we overriding include synonyms default?
- isPrimitivesDefaultedForNullValue() - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Get the value of the
primitivesDefaultedForNullValue
flag. - isProcedureColumnMetaDataUsed() - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Are we using the meta-data for the procedure columns?
- isProcedureColumnMetaDataUsed() - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- isQuoteIdentifiers() - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Are we quoting identifiers?
- isQuoteIdentifiers() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Get the
quoteIdentifiers
flag. - isReadOnly() - Method in class org.springframework.jdbc.datasource.JdbcTransactionObjectSupport
-
Return the read-only status of this transaction.
- isRefCursorSupported() - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Does this database support returning ResultSets as ref cursors to be retrieved with
CallableStatement.getObject(int)
for the specified column? - isRefCursorSupported() - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- isRefCursorSupported() - Method in class org.springframework.jdbc.core.metadata.OracleCallMetaDataProvider
- isRefCursorSupported() - Method in class org.springframework.jdbc.core.metadata.PostgresCallMetaDataProvider
- isResultSetSupported() - Method in class org.springframework.jdbc.core.ResultSetSupportingSqlParameter
-
Does this parameter support a ResultSet, i.e.
- isResultsMapCaseInsensitive() - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Return whether execution of a CallableStatement will return the results in a Map that uses case-insensitive names for the parameters.
- isResultsParameter() - Method in class org.springframework.jdbc.core.SqlParameter
-
Return whether this parameter is an implicit return parameter used during the results processing of
CallableStatement.getMoreResults/getUpdateCount
. - isResultsParameter() - Method in class org.springframework.jdbc.core.SqlReturnResultSet
-
This implementation always returns
true
. - isResultsParameter() - Method in class org.springframework.jdbc.core.SqlReturnUpdateCount
-
This implementation always returns
true
. - isReturnGeneratedKeys() - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Return whether statements should be capable of returning auto-generated keys.
- isReturnParameter() - Method in class org.springframework.jdbc.core.metadata.CallParameterMetaData
-
Determine whether the declared parameter qualifies as a 'return' parameter for our purposes: type
DatabaseMetaData.procedureColumnReturn
orDatabaseMetaData.procedureColumnResult
, or in case of a function,DatabaseMetaData.functionReturn
. - isReturnResultSetSupported() - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Does this database support returning ResultSets that should be retrieved with the JDBC call:
Statement.getResultSet()
? - isReturnResultSetSupported() - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- isReturnResultSetSupported() - Method in class org.springframework.jdbc.core.metadata.OracleCallMetaDataProvider
- isReturnResultSetSupported() - Method in class org.springframework.jdbc.core.metadata.PostgresCallMetaDataProvider
- isReturnTypeSupported() - Method in class org.springframework.jdbc.core.SqlOutParameter
-
Return whether this parameter holds a custom return type.
- isReturnValueRequired() - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Check whether a return value is required.
- isReturnValueRequired() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Does the call require a return value?
- isRollbackBeforeClose() - Method in class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Return whether the shared Connection should be explicitly rolled back before close (if not in auto-commit mode).
- isSavepointAllowed() - Method in class org.springframework.jdbc.datasource.JdbcTransactionObjectSupport
-
Return whether savepoints are allowed within this transaction.
- isSigned(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
- isSigned(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSetMetaData
-
Indicate whether the designated column contains a signed number.
- isSingleton() - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactoryBean
- isSkipResultsProcessing() - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Return whether results processing should be skipped.
- isSkipUndeclaredResults() - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Return whether undeclared results should be skipped.
- isSqlReadyForUse() - Method in class org.springframework.jdbc.object.SqlCall
-
Return whether the SQL can be used as is.
- isStoresLowerCaseIdentifiers() - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
-
Does the database use lower case for identifiers?
- isStoresLowerCaseIdentifiers() - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- isStoresUpperCaseIdentifiers() - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
-
Does the database use upper case for identifiers?
- isStoresUpperCaseIdentifiers() - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- isSupportsCatalogsInProcedureCalls() - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Does the database support the use of catalog name in procedure calls?
- isSupportsCatalogsInProcedureCalls() - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
-
Does the database support the use of catalog name in procedure calls?
- isSupportsSchemasInProcedureCalls() - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Does the database support the use of schema name in procedure calls?
- isSupportsSchemasInProcedureCalls() - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
-
Does the database support the use of schema name in procedure calls?
- isSuppressClose() - Method in class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Return whether the returned Connection will be a close-suppressing proxy or the physical Connection.
- isTableColumnMetaDataUsed() - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- isTableColumnMetaDataUsed() - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Are we using the meta-data for the table columns?
- isTransactionActive() - Method in class org.springframework.jdbc.datasource.ConnectionHolder
-
Return whether this holder represents an active, JDBC-managed transaction.
- isUpdatableResults() - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Return whether statements will return updatable ResultSets.
- isUseSqlStateForTranslation() - Method in class org.springframework.jdbc.support.SQLErrorCodes
- isWrapperFor(Class<?>) - Method in class org.springframework.jdbc.datasource.AbstractDataSource
- isWrapperFor(Class<?>) - Method in class org.springframework.jdbc.datasource.DelegatingDataSource
- isWrapperFor(Class<?>) - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
J
- javaTypeToSqlParameterType(Class<?>) - Static method in class org.springframework.jdbc.core.StatementCreatorUtils
-
Derive a default SQL type from the given Java type.
- Jdbc4SqlXmlHandler - Class in org.springframework.jdbc.support.xml
-
Deprecated.as of 6.2, in favor of direct
ResultSet.getSQLXML(int)
andConnection.createSQLXML()
usage, possibly in combination with a customSqlValue
implementation - Jdbc4SqlXmlHandler() - Constructor for class org.springframework.jdbc.support.xml.Jdbc4SqlXmlHandler
-
Deprecated.
- JdbcAccessor - Class in org.springframework.jdbc.support
-
Base class for
JdbcTemplate
and other JDBC-accessing DAO helpers, defining common properties such as DataSource and exception translator. - JdbcAccessor() - Constructor for class org.springframework.jdbc.support.JdbcAccessor
- JdbcBeanDefinitionReader - Class in org.springframework.jdbc.core.support
-
Deprecated.as of 5.3, in favor of Spring's common bean definition formats and/or custom reader implementations
- JdbcBeanDefinitionReader(BeanDefinitionRegistry) - Constructor for class org.springframework.jdbc.core.support.JdbcBeanDefinitionReader
-
Deprecated.Create a new JdbcBeanDefinitionReader for the given bean factory, using a default PropertiesBeanDefinitionReader underneath.
- JdbcBeanDefinitionReader(PropertiesBeanDefinitionReader) - Constructor for class org.springframework.jdbc.core.support.JdbcBeanDefinitionReader
-
Deprecated.Create a new JdbcBeanDefinitionReader that delegates to the given PropertiesBeanDefinitionReader underneath.
- JdbcClient - Interface in org.springframework.jdbc.core.simple
-
A fluent
JdbcClient
with common JDBC query and update operations, supporting JDBC-style positional as well as Spring-style named parameters with a convenient unified facade for JDBCPreparedStatement
execution. - JdbcClient.MappedQuerySpec<T> - Interface in org.springframework.jdbc.core.simple
-
A specification for RowMapper-mapped queries.
- JdbcClient.ResultQuerySpec - Interface in org.springframework.jdbc.core.simple
-
A specification for simple result queries.
- JdbcClient.StatementSpec - Interface in org.springframework.jdbc.core.simple
-
A statement specification for parameter bindings and query/update execution.
- JdbcDaoSupport - Class in org.springframework.jdbc.core.support
-
Convenient superclass for JDBC-based data access objects.
- JdbcDaoSupport() - Constructor for class org.springframework.jdbc.core.support.JdbcDaoSupport
- JdbcNamespaceHandler - Class in org.springframework.jdbc.config
-
NamespaceHandler
for JDBC configuration namespace. - JdbcNamespaceHandler() - Constructor for class org.springframework.jdbc.config.JdbcNamespaceHandler
- JdbcOperations - Interface in org.springframework.jdbc.core
-
Interface specifying a basic set of JDBC operations.
- JdbcTemplate - Class in org.springframework.jdbc.core
-
This is the central delegate in the JDBC core package. It can be used directly for many data access purposes, supporting any kind of JDBC operation.
- JdbcTemplate() - Constructor for class org.springframework.jdbc.core.JdbcTemplate
-
Construct a new JdbcTemplate for bean usage.
- JdbcTemplate(DataSource) - Constructor for class org.springframework.jdbc.core.JdbcTemplate
-
Construct a new JdbcTemplate, given a DataSource to obtain connections from.
- JdbcTemplate(DataSource, boolean) - Constructor for class org.springframework.jdbc.core.JdbcTemplate
-
Construct a new JdbcTemplate, given a DataSource to obtain connections from.
- JdbcTransactionManager - Class in org.springframework.jdbc.support
-
JdbcAccessor
-aligned subclass of the plainDataSourceTransactionManager
, adding common JDBC exception translation for the commit and rollback step. - JdbcTransactionManager() - Constructor for class org.springframework.jdbc.support.JdbcTransactionManager
-
Create a new
JdbcTransactionManager
instance. - JdbcTransactionManager(DataSource) - Constructor for class org.springframework.jdbc.support.JdbcTransactionManager
-
Create a new
JdbcTransactionManager
instance. - JdbcTransactionObjectSupport - Class in org.springframework.jdbc.datasource
-
Convenient base class for JDBC-aware transaction objects.
- JdbcTransactionObjectSupport() - Constructor for class org.springframework.jdbc.datasource.JdbcTransactionObjectSupport
- JdbcUpdateAffectedIncorrectNumberOfRowsException - Exception Class in org.springframework.jdbc
-
Exception thrown when a JDBC update affects an unexpected number of rows.
- JdbcUpdateAffectedIncorrectNumberOfRowsException(String, int, int) - Constructor for exception class org.springframework.jdbc.JdbcUpdateAffectedIncorrectNumberOfRowsException
-
Constructor for JdbcUpdateAffectedIncorrectNumberOfRowsException.
- JdbcUtils - Class in org.springframework.jdbc.support
-
Generic utility methods for working with JDBC.
- JdbcUtils() - Constructor for class org.springframework.jdbc.support.JdbcUtils
- JndiDataSourceLookup - Class in org.springframework.jdbc.datasource.lookup
-
JNDI-based
DataSourceLookup
implementation. - JndiDataSourceLookup() - Constructor for class org.springframework.jdbc.datasource.lookup.JndiDataSourceLookup
K
- KeyHolder - Interface in org.springframework.jdbc.support
-
Interface for retrieving keys, typically used for auto-generated keys as potentially returned by JDBC insert statements.
L
- last() - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- last() - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Move the cursor to the last row of this row set.
- LazyConnectionDataSourceProxy - Class in org.springframework.jdbc.datasource
-
Proxy for a target DataSource, fetching actual JDBC Connections lazily, i.e.
- LazyConnectionDataSourceProxy() - Constructor for class org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy
-
Create a new LazyConnectionDataSourceProxy.
- LazyConnectionDataSourceProxy(DataSource) - Constructor for class org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy
-
Create a new LazyConnectionDataSourceProxy.
- list() - Method in interface org.springframework.jdbc.core.simple.JdbcClient.MappedQuerySpec
-
Retrieve the result as a pre-resolved list of mapped objects, retaining the order from the original database result.
- listOfRows() - Method in interface org.springframework.jdbc.core.simple.JdbcClient.ResultQuerySpec
-
Retrieve the result as a list of rows, retaining the order from the original database result.
- loadBeanDefinitions(String) - Method in class org.springframework.jdbc.core.support.JdbcBeanDefinitionReader
-
Deprecated.Load bean definitions from the database via the given SQL string.
- loadResource(String) - Method in class org.springframework.jdbc.support.SQLErrorCodesFactory
-
Load the given resource from the class path.
- LobCreator - Interface in org.springframework.jdbc.support.lob
-
Deprecated.as of 6.2, in favor of
SqlBinaryValue
andSqlCharacterValue
- LobHandler - Interface in org.springframework.jdbc.support.lob
-
Deprecated.as of 6.2, in favor of
SqlBinaryValue
andSqlCharacterValue
- LobRetrievalFailureException - Exception Class in org.springframework.jdbc
-
Deprecated.as of 6.2 along with
LobHandler
- LobRetrievalFailureException(String) - Constructor for exception class org.springframework.jdbc.LobRetrievalFailureException
-
Deprecated.Constructor for LobRetrievalFailureException.
- LobRetrievalFailureException(String, IOException) - Constructor for exception class org.springframework.jdbc.LobRetrievalFailureException
-
Deprecated.Constructor for LobRetrievalFailureException.
- logger - Variable in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Logger available to subclasses.
- logger - Variable in class org.springframework.jdbc.core.metadata.CallMetaDataContext
- logger - Static variable in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
-
Logger available to subclasses.
- logger - Static variable in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
-
Logger available to subclasses.
- logger - Variable in class org.springframework.jdbc.core.metadata.TableMetaDataContext
- logger - Variable in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Logger available to subclasses.
- logger - Variable in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Logger available to subclasses.
- logger - Variable in class org.springframework.jdbc.datasource.AbstractDataSource
-
Logger available to subclasses.
- logger - Variable in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurerDelegate
- logger - Variable in class org.springframework.jdbc.object.RdbmsOperation
-
Logger available to subclasses.
- logger - Variable in class org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator
-
Logger available to subclasses.
- logger - Variable in class org.springframework.jdbc.support.DatabaseStartupValidator
- logger - Variable in class org.springframework.jdbc.support.JdbcAccessor
-
Logger available to subclasses.
- logger - Variable in class org.springframework.jdbc.support.lob.DefaultLobHandler
-
Deprecated.
- logger - Static variable in class org.springframework.jdbc.support.lob.TemporaryLobCreator
-
Deprecated.
- lookupColumnName(ResultSetMetaData, int) - Static method in class org.springframework.jdbc.support.JdbcUtils
-
Determine the column name to use.
- lowerCaseName(String) - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Convert the given name to lower case.
M
- MapDataSourceLookup - Class in org.springframework.jdbc.datasource.lookup
-
Simple
DataSourceLookup
implementation that relies on a map for doing lookups. - MapDataSourceLookup() - Constructor for class org.springframework.jdbc.datasource.lookup.MapDataSourceLookup
-
Create a new instance of the
MapDataSourceLookup
class. - MapDataSourceLookup(String, DataSource) - Constructor for class org.springframework.jdbc.datasource.lookup.MapDataSourceLookup
-
Create a new instance of the
MapDataSourceLookup
class. - MapDataSourceLookup(Map<String, DataSource>) - Constructor for class org.springframework.jdbc.datasource.lookup.MapDataSourceLookup
-
Create a new instance of the
MapDataSourceLookup
class. - mappedNames(PropertyDescriptor) - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Determine the mapped names for the given property.
- MappingSqlQuery<T> - Class in org.springframework.jdbc.object
-
Reusable query in which concrete subclasses must implement the abstract mapRow(ResultSet, int) method to convert each row of the JDBC ResultSet into an object.
- MappingSqlQuery() - Constructor for class org.springframework.jdbc.object.MappingSqlQuery
-
Constructor that allows use as a JavaBean.
- MappingSqlQuery(DataSource, String) - Constructor for class org.springframework.jdbc.object.MappingSqlQuery
-
Convenient constructor with DataSource and SQL string.
- MappingSqlQueryWithParameters<T> - Class in org.springframework.jdbc.object
-
Reusable RDBMS query in which concrete subclasses must implement the abstract mapRow(ResultSet, int) method to map each row of the JDBC ResultSet into an object.
- MappingSqlQueryWithParameters() - Constructor for class org.springframework.jdbc.object.MappingSqlQueryWithParameters
-
Constructor to allow use as a JavaBean.
- MappingSqlQueryWithParameters(DataSource, String) - Constructor for class org.springframework.jdbc.object.MappingSqlQueryWithParameters
-
Convenient constructor with DataSource and SQL string.
- MappingSqlQueryWithParameters.RowMapperImpl - Class in org.springframework.jdbc.object
-
Implementation of RowMapper that calls the enclosing class's
mapRow
method for each row. - mapRow(ResultSet, int) - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Extract the values for all columns in the current row.
- mapRow(ResultSet, int) - Method in class org.springframework.jdbc.core.ColumnMapRowMapper
- mapRow(ResultSet, int) - Method in interface org.springframework.jdbc.core.RowMapper
-
Implementations must implement this method to map each row of data in the
ResultSet
. - mapRow(ResultSet, int) - Method in class org.springframework.jdbc.core.SimplePropertyRowMapper
- mapRow(ResultSet, int) - Method in class org.springframework.jdbc.core.SingleColumnRowMapper
-
Extract a value for the single column in the current row.
- mapRow(ResultSet, int) - Method in class org.springframework.jdbc.object.MappingSqlQuery
-
Subclasses must implement this method to convert each row of the ResultSet into an object of the result type.
- mapRow(ResultSet, int) - Method in class org.springframework.jdbc.object.MappingSqlQueryWithParameters.RowMapperImpl
- mapRow(ResultSet, int) - Method in class org.springframework.jdbc.object.SqlFunction
-
This implementation of this method extracts a single value from the single row returned by the function.
- mapRow(ResultSet, int) - Method in class org.springframework.jdbc.object.UpdatableSqlQuery.RowMapperImpl
- mapRow(ResultSet, int, Object[], Map<?, ?>) - Method in class org.springframework.jdbc.object.MappingSqlQuery
-
This method is implemented to invoke the simpler mapRow template method, ignoring parameters.
- mapRow(ResultSet, int, Object[], Map<?, ?>) - Method in class org.springframework.jdbc.object.MappingSqlQueryWithParameters
-
Subclasses must implement this method to convert each row of the ResultSet into an object of the result type.
- MapSqlParameterSource - Class in org.springframework.jdbc.core.namedparam
-
SqlParameterSource
implementation that holds a given Map of parameters. - MapSqlParameterSource() - Constructor for class org.springframework.jdbc.core.namedparam.MapSqlParameterSource
-
Create an empty MapSqlParameterSource, with values to be added via
addValue
. - MapSqlParameterSource(String, Object) - Constructor for class org.springframework.jdbc.core.namedparam.MapSqlParameterSource
-
Create a new MapSqlParameterSource, with one value comprised of the supplied arguments.
- MapSqlParameterSource(Map<String, ?>) - Constructor for class org.springframework.jdbc.core.namedparam.MapSqlParameterSource
-
Create a new MapSqlParameterSource based on a Map.
- MariaDBSequenceMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that retrieves the next value of a given MariaDB sequence. - MariaDBSequenceMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.MariaDBSequenceMaxValueIncrementer
-
Default constructor for bean property style usage.
- MariaDBSequenceMaxValueIncrementer(DataSource, String) - Constructor for class org.springframework.jdbc.support.incrementer.MariaDBSequenceMaxValueIncrementer
-
Convenience constructor.
- matchInParameterValuesWithCallParameters(Object[]) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
- matchInParameterValuesWithCallParameters(Map<String, ?>) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Match input parameter values with the parameters declared to be used in the call.
- matchInParameterValuesWithCallParameters(Map<String, ?>) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Match the provided in parameter values with registered parameters and parameters defined via meta-data processing.
- matchInParameterValuesWithCallParameters(SqlParameterSource) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Match input parameter values with the parameters declared to be used in the call.
- matchInParameterValuesWithCallParameters(SqlParameterSource) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Match the provided in parameter values with registered parameters and parameters defined via meta-data processing.
- matchInParameterValuesWithInsertColumns(Map<String, ?>) - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Match the provided column names and values with the list of columns used.
- matchInParameterValuesWithInsertColumns(Map<String, ?>) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Match the provided in parameter values with registered parameters and parameters defined via meta-data processing.
- matchInParameterValuesWithInsertColumns(SqlParameterSource) - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Match the provided column names and values with the list of columns used.
- matchInParameterValuesWithInsertColumns(SqlParameterSource) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Match the provided in parameter values with registered parameters and parameters defined via meta-data processing.
- MetaDataAccessException - Exception Class in org.springframework.jdbc.support
-
Exception indicating that something went wrong during JDBC meta-data lookup.
- MetaDataAccessException(String) - Constructor for exception class org.springframework.jdbc.support.MetaDataAccessException
-
Constructor for MetaDataAccessException.
- MetaDataAccessException(String, Throwable) - Constructor for exception class org.springframework.jdbc.support.MetaDataAccessException
-
Constructor for MetaDataAccessException.
- metaDataCatalogNameToUse(String) - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Provide any modification of the catalog name passed in to match the meta-data currently used.
- metaDataCatalogNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- metaDataCatalogNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- metaDataCatalogNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.OracleCallMetaDataProvider
- metaDataCatalogNameToUse(String) - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Provide any modification of the catalog name passed in to match the meta-data currently used.
- metaDataSchemaNameToUse(String) - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Provide any modification of the schema name passed in to match the meta-data currently used.
- metaDataSchemaNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.Db2CallMetaDataProvider
- metaDataSchemaNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.DerbyCallMetaDataProvider
- metaDataSchemaNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- metaDataSchemaNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- metaDataSchemaNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.OracleCallMetaDataProvider
- metaDataSchemaNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.PostgresCallMetaDataProvider
- metaDataSchemaNameToUse(String) - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Provide any modification of the schema name passed in to match the meta-data currently used.
- MySQLIdentityColumnMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that increments the maximum counter value of an auto-increment column of a given MySQL table. - MySQLIdentityColumnMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.MySQLIdentityColumnMaxValueIncrementer
-
Default constructor for bean property style usage.
- MySQLIdentityColumnMaxValueIncrementer(DataSource, String, String) - Constructor for class org.springframework.jdbc.support.incrementer.MySQLIdentityColumnMaxValueIncrementer
-
Convenience constructor.
- MySQLMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that increments the maximum value of a given MySQL table with the equivalent of an auto-increment column. - MySQLMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.MySQLMaxValueIncrementer
-
Default constructor for bean property style usage.
- MySQLMaxValueIncrementer(DataSource, String, String) - Constructor for class org.springframework.jdbc.support.incrementer.MySQLMaxValueIncrementer
-
Convenience constructor.
N
- namedParameterBindingToUse(String) - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Return the name of the named parameter to use for binding the given parameter name.
- namedParameterBindingToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- namedParameterBindingToUse(String) - Method in class org.springframework.jdbc.core.metadata.SqlServerCallMetaDataProvider
- namedParameterBindingToUse(String) - Method in class org.springframework.jdbc.core.metadata.SybaseCallMetaDataProvider
- NamedParameterJdbcDaoSupport - Class in org.springframework.jdbc.core.namedparam
-
Extension of JdbcDaoSupport that exposes a NamedParameterJdbcTemplate as well.
- NamedParameterJdbcDaoSupport() - Constructor for class org.springframework.jdbc.core.namedparam.NamedParameterJdbcDaoSupport
- NamedParameterJdbcOperations - Interface in org.springframework.jdbc.core.namedparam
-
Interface specifying a basic set of JDBC operations allowing the use of named parameters rather than the traditional '?' placeholders.
- NamedParameterJdbcTemplate - Class in org.springframework.jdbc.core.namedparam
-
Template class with a basic set of JDBC operations, allowing the use of named parameters rather than traditional '?' placeholders.
- NamedParameterJdbcTemplate(DataSource) - Constructor for class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
-
Create a new NamedParameterJdbcTemplate for the given
DataSource
. - NamedParameterJdbcTemplate(JdbcOperations) - Constructor for class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
-
Create a new NamedParameterJdbcTemplate for the given classic Spring
JdbcTemplate
. - NamedParameterUtils - Class in org.springframework.jdbc.core.namedparam
-
Helper methods for named parameter parsing.
- NamedParameterUtils() - Constructor for class org.springframework.jdbc.core.namedparam.NamedParameterUtils
- newArgPreparedStatementSetter(Object[]) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Create a new arg-based PreparedStatementSetter using the args passed in.
- newArgTypePreparedStatementSetter(Object[], int[]) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Create a new arg-type-based PreparedStatementSetter using the args and types passed in.
- newCachedRowSet() - Method in class org.springframework.jdbc.core.SqlRowSetResultSetExtractor
-
Create a new
CachedRowSet
instance, to be populated by thecreateSqlRowSet
implementation. - newCallableStatementCreator(Map<String, ?>) - Method in class org.springframework.jdbc.core.CallableStatementCreatorFactory
-
Return a new CallableStatementCreator instance given these parameters.
- newCallableStatementCreator(Map<String, ?>) - Method in class org.springframework.jdbc.object.SqlCall
-
Return a CallableStatementCreator to perform an operation with these parameters.
- newCallableStatementCreator(ParameterMapper) - Method in class org.springframework.jdbc.core.CallableStatementCreatorFactory
-
Return a new CallableStatementCreator instance given this parameter mapper.
- newCallableStatementCreator(ParameterMapper) - Method in class org.springframework.jdbc.object.SqlCall
-
Return a CallableStatementCreator to perform an operation with the parameters returned from this ParameterMapper.
- newInstance(Class<T>) - Static method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Static factory method to create a new
BeanPropertyRowMapper
. - newInstance(Class<T>) - Static method in class org.springframework.jdbc.core.DataClassRowMapper
-
Static factory method to create a new
DataClassRowMapper
. - newInstance(Class<T>) - Static method in class org.springframework.jdbc.core.SingleColumnRowMapper
-
Static factory method to create a new
SingleColumnRowMapper
. - newInstance(Class<T>, ConversionService) - Static method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Static factory method to create a new
BeanPropertyRowMapper
. - newInstance(Class<T>, ConversionService) - Static method in class org.springframework.jdbc.core.DataClassRowMapper
-
Static factory method to create a new
DataClassRowMapper
. - newInstance(Class<T>, ConversionService) - Static method in class org.springframework.jdbc.core.SingleColumnRowMapper
-
Static factory method to create a new
SingleColumnRowMapper
. - newPreparedStatementCreator(Object[]) - Method in class org.springframework.jdbc.core.PreparedStatementCreatorFactory
-
Return a new PreparedStatementCreator for the given parameters.
- newPreparedStatementCreator(Object[]) - Method in class org.springframework.jdbc.object.SqlOperation
-
Return a PreparedStatementCreator to perform an operation with the given parameters.
- newPreparedStatementCreator(String, Object[]) - Method in class org.springframework.jdbc.core.PreparedStatementCreatorFactory
-
Return a new PreparedStatementCreator for the given parameters.
- newPreparedStatementCreator(String, Object[]) - Method in class org.springframework.jdbc.object.SqlOperation
-
Return a PreparedStatementCreator to perform an operation with the given parameters.
- newPreparedStatementCreator(List<? extends Object>) - Method in class org.springframework.jdbc.core.PreparedStatementCreatorFactory
-
Return a new PreparedStatementCreator for the given parameters.
- newPreparedStatementSetter(Object[]) - Method in class org.springframework.jdbc.core.PreparedStatementCreatorFactory
-
Return a new PreparedStatementSetter for the given parameters.
- newPreparedStatementSetter(Object[]) - Method in class org.springframework.jdbc.object.SqlOperation
-
Return a PreparedStatementSetter to perform an operation with the given parameters.
- newPreparedStatementSetter(List<?>) - Method in class org.springframework.jdbc.core.PreparedStatementCreatorFactory
-
Return a new PreparedStatementSetter for the given parameters.
- newRowMapper(Object[], Map<?, ?>) - Method in class org.springframework.jdbc.object.GenericSqlQuery
- newRowMapper(Object[], Map<?, ?>) - Method in class org.springframework.jdbc.object.MappingSqlQueryWithParameters
-
Implementation of protected abstract method.
- newRowMapper(Object[], Map<?, ?>) - Method in class org.springframework.jdbc.object.SqlQuery
-
Subclasses must implement this method to extract an object per row, to be returned by the
execute
method as an aggregatedList
. - newRowMapper(Object[], Map<?, ?>) - Method in class org.springframework.jdbc.object.UpdatableSqlQuery
-
Implementation of the superclass template method.
- newSqlXmlValue(Class<? extends Result>, XmlResultProvider) - Method in class org.springframework.jdbc.support.xml.Jdbc4SqlXmlHandler
-
Deprecated.
- newSqlXmlValue(Class<? extends Result>, XmlResultProvider) - Method in interface org.springframework.jdbc.support.xml.SqlXmlHandler
-
Deprecated.Create a
SqlXmlValue
instance for the given XML data, as supported by the underlying JDBC driver. - newSqlXmlValue(String) - Method in class org.springframework.jdbc.support.xml.Jdbc4SqlXmlHandler
-
Deprecated.
- newSqlXmlValue(String) - Method in interface org.springframework.jdbc.support.xml.SqlXmlHandler
-
Deprecated.Create a
SqlXmlValue
instance for the given XML data, as supported by the underlying JDBC driver. - newSqlXmlValue(XmlBinaryStreamProvider) - Method in class org.springframework.jdbc.support.xml.Jdbc4SqlXmlHandler
-
Deprecated.
- newSqlXmlValue(XmlBinaryStreamProvider) - Method in interface org.springframework.jdbc.support.xml.SqlXmlHandler
-
Deprecated.Create a
SqlXmlValue
instance for the given XML data, as supported by the underlying JDBC driver. - newSqlXmlValue(XmlCharacterStreamProvider) - Method in class org.springframework.jdbc.support.xml.Jdbc4SqlXmlHandler
-
Deprecated.
- newSqlXmlValue(XmlCharacterStreamProvider) - Method in interface org.springframework.jdbc.support.xml.SqlXmlHandler
-
Deprecated.Create a
SqlXmlValue
instance for the given XML data, as supported by the underlying JDBC driver. - newSqlXmlValue(Document) - Method in class org.springframework.jdbc.support.xml.Jdbc4SqlXmlHandler
-
Deprecated.
- newSqlXmlValue(Document) - Method in interface org.springframework.jdbc.support.xml.SqlXmlHandler
-
Deprecated.Create a
SqlXmlValue
instance for the given XML data, as supported by the underlying JDBC driver. - next() - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- next() - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Move the cursor to the next row.
- nextIntValue() - Method in class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
- nextIntValue() - Method in interface org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer
-
Increment the data store field's max value as int.
- nextLongValue() - Method in class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
- nextLongValue() - Method in interface org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer
-
Increment the data store field's max value as long.
- nextStringValue() - Method in class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
- nextStringValue() - Method in interface org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer
-
Increment the data store field's max value as String.
O
- obtainDataSource() - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
-
Obtain the
DataSource
for actual use. - obtainDataSource() - Method in class org.springframework.jdbc.support.JdbcAccessor
-
Obtain the DataSource for actual use.
- obtainTargetDataSource() - Method in class org.springframework.jdbc.datasource.DelegatingDataSource
-
Obtain the target
DataSource
for actual use (nevernull
). - onCompileInternal() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Hook method that subclasses may override to react to compilation.
- onCompileInternal() - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Hook method that subclasses may override to react to compilation.
- onCompileInternal() - Method in class org.springframework.jdbc.object.SqlCall
-
Hook method that subclasses may override to react to compilation.
- onCompileInternal() - Method in class org.springframework.jdbc.object.SqlOperation
-
Hook method that subclasses may override to post-process compilation.
- optional() - Method in interface org.springframework.jdbc.core.simple.JdbcClient.MappedQuerySpec
-
Retrieve a single result, if available, as an
Optional
handle. - optionalValue() - Method in interface org.springframework.jdbc.core.simple.JdbcClient.ResultQuerySpec
-
Retrieve a single value result, if available, as an
Optional
handle. - OracleCallMetaDataProvider - Class in org.springframework.jdbc.core.metadata
-
Oracle-specific implementation for the
CallMetaDataProvider
interface. - OracleCallMetaDataProvider(DatabaseMetaData) - Constructor for class org.springframework.jdbc.core.metadata.OracleCallMetaDataProvider
- OracleSequenceMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that retrieves the next value of a given Oracle sequence. - OracleSequenceMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.OracleSequenceMaxValueIncrementer
-
Default constructor for bean property style usage.
- OracleSequenceMaxValueIncrementer(DataSource, String) - Constructor for class org.springframework.jdbc.support.incrementer.OracleSequenceMaxValueIncrementer
-
Convenience constructor.
- OracleTableMetaDataProvider - Class in org.springframework.jdbc.core.metadata
-
Oracle-specific implementation of the
TableMetaDataProvider
. - OracleTableMetaDataProvider(DatabaseMetaData) - Constructor for class org.springframework.jdbc.core.metadata.OracleTableMetaDataProvider
-
Constructor used to initialize with provided database meta-data.
- OracleTableMetaDataProvider(DatabaseMetaData, boolean) - Constructor for class org.springframework.jdbc.core.metadata.OracleTableMetaDataProvider
-
Constructor used to initialize with provided database meta-data.
- org.springframework.jdbc - package org.springframework.jdbc
-
The classes in this package make JDBC easier to use and reduce the likelihood of common errors.
- org.springframework.jdbc.config - package org.springframework.jdbc.config
-
Defines the Spring JDBC configuration namespace.
- org.springframework.jdbc.core - package org.springframework.jdbc.core
-
Provides the core JDBC framework, based on JdbcTemplate and its associated callback interfaces and helper objects.
- org.springframework.jdbc.core.metadata - package org.springframework.jdbc.core.metadata
-
Context metadata abstraction for the configuration and execution of table inserts and stored procedure calls.
- org.springframework.jdbc.core.namedparam - package org.springframework.jdbc.core.namedparam
-
JdbcTemplate variant with named parameter support.
- org.springframework.jdbc.core.simple - package org.springframework.jdbc.core.simple
-
Simplification layer for common JDBC interactions.
- org.springframework.jdbc.core.support - package org.springframework.jdbc.core.support
-
Classes supporting the
org.springframework.jdbc.core
package. - org.springframework.jdbc.datasource - package org.springframework.jdbc.datasource
-
Provides a utility class for easy DataSource access, a PlatformTransactionManager for a single DataSource, and various simple DataSource implementations.
- org.springframework.jdbc.datasource.embedded - package org.springframework.jdbc.datasource.embedded
-
Provides extensible support for creating embedded database instances.
- org.springframework.jdbc.datasource.init - package org.springframework.jdbc.datasource.init
-
Provides extensible support for initializing databases through scripts.
- org.springframework.jdbc.datasource.lookup - package org.springframework.jdbc.datasource.lookup
-
Provides a strategy for looking up JDBC DataSources by name.
- org.springframework.jdbc.object - package org.springframework.jdbc.object
-
The classes in this package represent RDBMS queries, updates, and stored procedures as threadsafe, reusable objects.
- org.springframework.jdbc.support - package org.springframework.jdbc.support
-
Support classes for the JDBC framework, used by the classes in the jdbc.core and jdbc.object packages.
- org.springframework.jdbc.support.incrementer - package org.springframework.jdbc.support.incrementer
-
Provides a support framework for incrementing database table values via sequences, with implementations for various databases.
- org.springframework.jdbc.support.lob - package org.springframework.jdbc.support.lob
-
Provides a strategy interface for Large OBject handling, as well as a customizable default implementation.
- org.springframework.jdbc.support.rowset - package org.springframework.jdbc.support.rowset
-
Provides a convenient holder for disconnected result sets.
- org.springframework.jdbc.support.xml - package org.springframework.jdbc.support.xml
-
Abstraction for handling fields of SQLXML data type.
- OutputStreamFactory - Class in org.springframework.jdbc.datasource.embedded
-
Internal helper for exposing dummy OutputStreams to embedded databases such as Derby, preventing the creation of a log file.
P
- paddingLength - Variable in class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
-
The length to which a string result should be pre-pended with zeroes.
- param(int, Object) - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Bind a positional JDBC statement parameter for "?" placeholder resolution by explicit JDBC statement parameter index.
- param(int, Object, int) - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Bind a positional JDBC statement parameter for "?" placeholder resolution by explicit JDBC statement parameter index.
- param(Object) - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Bind a positional JDBC statement parameter for "?" placeholder resolution by implicit order of parameter value registration.
- param(String, Object) - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Bind a named statement parameter for ":x" placeholder resolution, with each "x" name matching a ":x" placeholder in the SQL statement.
- param(String, Object, int) - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Bind a named statement parameter for ":x" placeholder resolution, with each "x" name matching a ":x" placeholder in the SQL statement.
- ParameterDisposer - Interface in org.springframework.jdbc.core
-
Interface to be implemented by objects that can close resources allocated by parameters like
SqlLobValue
objects. - ParameterizedPreparedStatementSetter<T> - Interface in org.springframework.jdbc.core
-
Parameterized callback interface used by the
JdbcTemplate
class for batch updates. - ParameterMapper - Interface in org.springframework.jdbc.core
-
Implement this interface when parameters need to be customized based on the connection.
- parameterNameToUse(String) - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Provide any modification of the column name passed in to match the meta-data currently used.
- parameterNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- parameterNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.SqlServerCallMetaDataProvider
- parameterNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.SybaseCallMetaDataProvider
- params(Object...) - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Bind a var-args list of positional parameters for "?" placeholder resolution.
- params(List<?>) - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Bind a list of positional parameters for "?" placeholder resolution.
- params(Map<String, ?>) - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Bind named statement parameters for ":x" placeholder resolution.
- paramSource(Object) - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Bind named statement parameters for ":x" placeholder resolution.
- paramSource(SqlParameterSource) - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Bind named statement parameters for ":x" placeholder resolution.
- ParsedSql - Class in org.springframework.jdbc.core.namedparam
-
Holds information about a parsed SQL statement.
- parseSqlStatement(String) - Static method in class org.springframework.jdbc.core.namedparam.NamedParameterUtils
-
Parse the SQL statement and locate any placeholders or named parameters.
- parseSqlStatementIntoString(String) - Static method in class org.springframework.jdbc.core.namedparam.NamedParameterUtils
-
Parse the SQL statement and locate any placeholders or named parameters.
- populate(Connection) - Method in class org.springframework.jdbc.datasource.init.CompositeDatabasePopulator
- populate(Connection) - Method in interface org.springframework.jdbc.datasource.init.DatabasePopulator
-
Populate, initialize, or clean up the database using the provided JDBC connection.
- populate(Connection) - Method in class org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
-
Populate, initialize, or clean up the database using the provided JDBC connection.
- PostgresCallMetaDataProvider - Class in org.springframework.jdbc.core.metadata
-
Postgres-specific implementation for the
CallMetaDataProvider
interface. - PostgresCallMetaDataProvider(DatabaseMetaData) - Constructor for class org.springframework.jdbc.core.metadata.PostgresCallMetaDataProvider
- PostgresSequenceMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that retrieves the next value of a given PostgreSQL sequence. - PostgresSequenceMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.PostgresSequenceMaxValueIncrementer
-
Default constructor for bean property style usage.
- PostgresSequenceMaxValueIncrementer(DataSource, String) - Constructor for class org.springframework.jdbc.support.incrementer.PostgresSequenceMaxValueIncrementer
-
Convenience constructor.
- PostgresTableMetaDataProvider - Class in org.springframework.jdbc.core.metadata
-
The PostgreSQL specific implementation of
TableMetaDataProvider
. - PostgresTableMetaDataProvider(DatabaseMetaData) - Constructor for class org.springframework.jdbc.core.metadata.PostgresTableMetaDataProvider
- prepareConnection(Connection) - Method in class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Prepare the given Connection before it is exposed.
- prepareConnectionForTransaction(Connection, TransactionDefinition) - Static method in class org.springframework.jdbc.datasource.DataSourceUtils
-
Prepare the given Connection with the given transaction semantics.
- PreparedStatementCallback<T> - Interface in org.springframework.jdbc.core
-
Generic callback interface for code that operates on a PreparedStatement.
- PreparedStatementCreator - Interface in org.springframework.jdbc.core
-
One of the two central callback interfaces used by the JdbcTemplate class.
- PreparedStatementCreatorFactory - Class in org.springframework.jdbc.core
-
Helper class that efficiently creates multiple
PreparedStatementCreator
objects with different parameters based on an SQL statement and a single set of parameter declarations. - PreparedStatementCreatorFactory(String) - Constructor for class org.springframework.jdbc.core.PreparedStatementCreatorFactory
-
Create a new factory.
- PreparedStatementCreatorFactory(String, int...) - Constructor for class org.springframework.jdbc.core.PreparedStatementCreatorFactory
-
Create a new factory with the given SQL and JDBC types.
- PreparedStatementCreatorFactory(String, List<SqlParameter>) - Constructor for class org.springframework.jdbc.core.PreparedStatementCreatorFactory
-
Create a new factory with the given SQL and parameters.
- PreparedStatementSetter - Interface in org.springframework.jdbc.core
-
General callback interface used by the
JdbcTemplate
class. - prepareTransactionalConnection(Connection, TransactionDefinition) - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
-
Prepare the transactional
Connection
right after transaction begin. - previous() - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- previous() - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Move the cursor to the previous row.
- procedureNameToUse(String) - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Provide any modification of the procedure name passed in to match the meta-data currently used.
- procedureNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- processMetaData(DatabaseMetaData) - Method in interface org.springframework.jdbc.support.DatabaseMetaDataCallback
-
Implementations must implement this method to process the meta-data passed in.
- processMetaData(DataSource, List<String>, String[]) - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Process the current meta-data with the provided configuration options.
- processParameters(List<SqlParameter>) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Process the list of parameters provided, and if procedure column meta-data is used, the parameters will be matched against the meta-data information and any missing ones will be automatically included.
- processResultSet(ResultSet, ResultSetSupportingSqlParameter) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Process the given ResultSet from a stored procedure.
- processRow(ResultSet) - Method in interface org.springframework.jdbc.core.RowCallbackHandler
-
Implementations must implement this method to process each row of data in the
ResultSet
. - processRow(ResultSet) - Method in class org.springframework.jdbc.core.RowCountCallbackHandler
-
Implementation of ResultSetCallbackHandler.
- processRow(ResultSet, int) - Method in class org.springframework.jdbc.core.RowCountCallbackHandler
-
Subclasses may override this to perform custom extraction or processing.
- provideXml(OutputStream) - Method in interface org.springframework.jdbc.support.xml.XmlBinaryStreamProvider
-
Deprecated.Implementations must implement this method to provide the XML content for the
OutputStream
. - provideXml(Writer) - Method in interface org.springframework.jdbc.support.xml.XmlCharacterStreamProvider
-
Deprecated.Implementations must implement this method to provide the XML content for the
Writer
. - provideXml(Result) - Method in interface org.springframework.jdbc.support.xml.XmlResultProvider
-
Deprecated.Implementations must implement this method to provide the XML content for the
Result
.
Q
- query() - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Proceed towards execution of a query, with several result options available in the returned query specification.
- query(Class<T>) - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Proceed towards execution of a mapped query, with several options available in the returned query specification.
- query(String, Object[], int[], ResultSetExtractor<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet with a ResultSetExtractor.
- query(String, Object[], int[], ResultSetExtractor<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- query(String, Object[], int[], RowCallbackHandler) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet on a per-row basis with a RowCallbackHandler.
- query(String, Object[], int[], RowCallbackHandler) - Method in class org.springframework.jdbc.core.JdbcTemplate
- query(String, Object[], int[], RowMapper<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a result object via a RowMapper.
- query(String, Object[], int[], RowMapper<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- query(String, Object[], ResultSetExtractor<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Deprecated.as of 5.3, in favor of
JdbcOperations.query(String, ResultSetExtractor, Object...)
- query(String, Object[], ResultSetExtractor<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Deprecated.
- query(String, Object[], RowCallbackHandler) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Deprecated.as of 5.3, in favor of
JdbcOperations.query(String, RowCallbackHandler, Object...)
- query(String, Object[], RowCallbackHandler) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Deprecated.
- query(String, Object[], RowMapper<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Deprecated.as of 5.3, in favor of
JdbcOperations.query(String, RowMapper, Object...)
- query(String, Object[], RowMapper<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Deprecated.
- query(String, Map<String, ?>, ResultSetExtractor<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet with a ResultSetExtractor.
- query(String, Map<String, ?>, ResultSetExtractor<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- query(String, Map<String, ?>, RowCallbackHandler) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet on a per-row basis with a RowCallbackHandler.
- query(String, Map<String, ?>, RowCallbackHandler) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- query(String, Map<String, ?>, RowMapper<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a Java object via a RowMapper.
- query(String, Map<String, ?>, RowMapper<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- query(String, PreparedStatementSetter, ResultSetExtractor<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query using a prepared statement, reading the ResultSet with a ResultSetExtractor.
- query(String, PreparedStatementSetter, ResultSetExtractor<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- query(String, PreparedStatementSetter, RowCallbackHandler) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a PreparedStatementSetter implementation that knows how to bind values to the query, reading the ResultSet on a per-row basis with a RowCallbackHandler.
- query(String, PreparedStatementSetter, RowCallbackHandler) - Method in class org.springframework.jdbc.core.JdbcTemplate
- query(String, PreparedStatementSetter, RowMapper<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a PreparedStatementSetter implementation that knows how to bind values to the query, mapping each row to a result object via a RowMapper.
- query(String, PreparedStatementSetter, RowMapper<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- query(String, SqlParameterSource, ResultSetExtractor<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet with a ResultSetExtractor.
- query(String, SqlParameterSource, ResultSetExtractor<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- query(String, SqlParameterSource, RowCallbackHandler) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet on a per-row basis with a RowCallbackHandler.
- query(String, SqlParameterSource, RowCallbackHandler) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- query(String, SqlParameterSource, RowMapper<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a Java object via a RowMapper.
- query(String, SqlParameterSource, RowMapper<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- query(String, ResultSetExtractor<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a query given static SQL, reading the ResultSet with a ResultSetExtractor.
- query(String, ResultSetExtractor<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- query(String, ResultSetExtractor<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL, reading the ResultSet with a ResultSetExtractor.
- query(String, ResultSetExtractor<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- query(String, ResultSetExtractor<T>, Object...) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet with a ResultSetExtractor.
- query(String, ResultSetExtractor<T>, Object...) - Method in class org.springframework.jdbc.core.JdbcTemplate
- query(String, RowCallbackHandler) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a query given static SQL, reading the ResultSet on a per-row basis with a RowCallbackHandler.
- query(String, RowCallbackHandler) - Method in class org.springframework.jdbc.core.JdbcTemplate
- query(String, RowCallbackHandler) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL, reading the ResultSet on a per-row basis with a RowCallbackHandler.
- query(String, RowCallbackHandler) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- query(String, RowCallbackHandler, Object...) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet on a per-row basis with a RowCallbackHandler.
- query(String, RowCallbackHandler, Object...) - Method in class org.springframework.jdbc.core.JdbcTemplate
- query(String, RowMapper<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a query given static SQL, mapping each row to a result object via a RowMapper.
- query(String, RowMapper<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- query(String, RowMapper<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL, mapping each row to a Java object via a RowMapper.
- query(String, RowMapper<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- query(String, RowMapper<T>, Object...) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a result object via a RowMapper.
- query(String, RowMapper<T>, Object...) - Method in class org.springframework.jdbc.core.JdbcTemplate
- query(PreparedStatementCreator, PreparedStatementSetter, ResultSetExtractor<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Query using a prepared statement, allowing for a PreparedStatementCreator and a PreparedStatementSetter.
- query(PreparedStatementCreator, ResultSetExtractor<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query using a prepared statement, reading the ResultSet with a ResultSetExtractor.
- query(PreparedStatementCreator, ResultSetExtractor<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- query(PreparedStatementCreator, RowCallbackHandler) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query using a prepared statement, reading the ResultSet on a per-row basis with a RowCallbackHandler.
- query(PreparedStatementCreator, RowCallbackHandler) - Method in class org.springframework.jdbc.core.JdbcTemplate
- query(PreparedStatementCreator, RowMapper<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query using a prepared statement, mapping each row to a result object via a RowMapper.
- query(PreparedStatementCreator, RowMapper<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- query(ResultSetExtractor<T>) - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Execute a query with the provided SQL statement, returning a result object for the entire ResultSet.
- query(RowCallbackHandler) - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Execute a query with the provided SQL statement, processing each row with the given callback.
- query(RowMapper<T>) - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Proceed towards execution of a mapped query, with several options available in the returned query specification.
- queryForList(String) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a query for a result list, given static SQL.
- queryForList(String) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForList(String, Object...) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.
- queryForList(String, Object...) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForList(String, Object[], int[]) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.
- queryForList(String, Object[], int[]) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForList(String, Object[], int[], Class<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.
- queryForList(String, Object[], int[], Class<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForList(String, Object[], Class<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Deprecated.as of 5.3, in favor of
JdbcOperations.queryForList(String, Class, Object...)
- queryForList(String, Object[], Class<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Deprecated.
- queryForList(String, Class<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a query for a result list, given static SQL.
- queryForList(String, Class<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForList(String, Class<T>, Object...) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.
- queryForList(String, Class<T>, Object...) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForList(String, Map<String, ?>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.
- queryForList(String, Map<String, ?>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- queryForList(String, Map<String, ?>, Class<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.
- queryForList(String, Map<String, ?>, Class<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- queryForList(String, SqlParameterSource) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.
- queryForList(String, SqlParameterSource) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- queryForList(String, SqlParameterSource, Class<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.
- queryForList(String, SqlParameterSource, Class<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- queryForMap(String) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a query for a result map, given static SQL.
- queryForMap(String) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForMap(String, Object...) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result map.
- queryForMap(String, Object...) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForMap(String, Object[], int[]) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result map.
- queryForMap(String, Object[], int[]) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForMap(String, Map<String, ?>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result Map.
- queryForMap(String, Map<String, ?>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- queryForMap(String, SqlParameterSource) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result Map.
- queryForMap(String, SqlParameterSource) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- queryForObject(String, Object[], int[], Class<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result object.
- queryForObject(String, Object[], int[], Class<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForObject(String, Object[], int[], RowMapper<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a result object via a RowMapper.
- queryForObject(String, Object[], int[], RowMapper<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForObject(String, Object[], Class<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Deprecated.as of 5.3, in favor of
JdbcOperations.queryForObject(String, Class, Object...)
- queryForObject(String, Object[], Class<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Deprecated.
- queryForObject(String, Object[], RowMapper<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Deprecated.as of 5.3, in favor of
JdbcOperations.queryForObject(String, RowMapper, Object...)
- queryForObject(String, Object[], RowMapper<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Deprecated.
- queryForObject(String, Class<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a query for a result object, given static SQL.
- queryForObject(String, Class<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForObject(String, Class<T>, Object...) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result object.
- queryForObject(String, Class<T>, Object...) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForObject(String, Map<String, ?>, Class<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result object.
- queryForObject(String, Map<String, ?>, Class<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- queryForObject(String, Map<String, ?>, RowMapper<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a Java object via a RowMapper.
- queryForObject(String, Map<String, ?>, RowMapper<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- queryForObject(String, SqlParameterSource, Class<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result object.
- queryForObject(String, SqlParameterSource, Class<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- queryForObject(String, SqlParameterSource, RowMapper<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a Java object via a RowMapper.
- queryForObject(String, SqlParameterSource, RowMapper<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- queryForObject(String, RowMapper<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a query given static SQL, mapping a single result row to a result object via a RowMapper.
- queryForObject(String, RowMapper<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForObject(String, RowMapper<T>, Object...) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a result object via a RowMapper.
- queryForObject(String, RowMapper<T>, Object...) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForRowSet(String) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a query for an SqlRowSet, given static SQL.
- queryForRowSet(String) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForRowSet(String, Object...) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting an SqlRowSet.
- queryForRowSet(String, Object...) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForRowSet(String, Object[], int[]) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting an SqlRowSet.
- queryForRowSet(String, Object[], int[]) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForRowSet(String, Map<String, ?>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting an SqlRowSet.
- queryForRowSet(String, Map<String, ?>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- queryForRowSet(String, SqlParameterSource) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting an SqlRowSet.
- queryForRowSet(String, SqlParameterSource) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- queryForStream(String, Map<String, ?>, RowMapper<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a Java object via a RowMapper, and turning it into an iterable and closeable Stream.
- queryForStream(String, Map<String, ?>, RowMapper<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- queryForStream(String, PreparedStatementSetter, RowMapper<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a PreparedStatementSetter implementation that knows how to bind values to the query, mapping each row to a result object via a RowMapper, and turning it into an iterable and closeable Stream.
- queryForStream(String, PreparedStatementSetter, RowMapper<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForStream(String, SqlParameterSource, RowMapper<T>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a Java object via a RowMapper, and turning it into an iterable and closeable Stream.
- queryForStream(String, SqlParameterSource, RowMapper<T>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- queryForStream(String, RowMapper<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Execute a query given static SQL, mapping each row to a result object via a RowMapper, and turning it into an iterable and closeable Stream.
- queryForStream(String, RowMapper<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForStream(String, RowMapper<T>, Object...) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a result object via a RowMapper, and turning it into an iterable and closeable Stream.
- queryForStream(String, RowMapper<T>, Object...) - Method in class org.springframework.jdbc.core.JdbcTemplate
- queryForStream(PreparedStatementCreator, PreparedStatementSetter, RowMapper<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Query using a prepared statement, allowing for a PreparedStatementCreator and a PreparedStatementSetter.
- queryForStream(PreparedStatementCreator, RowMapper<T>) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Query using a prepared statement, mapping each row to a result object via a RowMapper, and turning it into an iterable and closeable Stream.
- queryForStream(PreparedStatementCreator, RowMapper<T>) - Method in class org.springframework.jdbc.core.JdbcTemplate
R
- RdbmsOperation - Class in org.springframework.jdbc.object
-
An "RDBMS operation" is a multithreaded, reusable object representing a query, update, or stored procedure call.
- RdbmsOperation() - Constructor for class org.springframework.jdbc.object.RdbmsOperation
- reconcileColumnsToUse(List<String>, String[]) - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Compare columns created from meta-data with declared columns and return a reconciled list.
- reconcileParameters(List<SqlParameter>) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Reconcile the provided parameters with available meta-data and add new ones where appropriate.
- registerDatabase(DataSource, String) - Method in class org.springframework.jdbc.support.SQLErrorCodesFactory
-
Associate the specified database name with the given
DataSource
. - registerSqlType(String, int) - Method in class org.springframework.jdbc.core.namedparam.AbstractSqlParameterSource
-
Register an SQL type for the given parameter.
- registerTranslator(String, SQLExceptionTranslator) - Method in class org.springframework.jdbc.support.CustomSQLExceptionTranslatorRegistry
-
Register a new custom translator for the specified database name.
- registerTypeName(String, String) - Method in class org.springframework.jdbc.core.namedparam.AbstractSqlParameterSource
-
Register an SQL type for the given parameter.
- relative(int) - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- relative(int) - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Move the cursor a relative number of rows, either positive or negative.
- releaseConnection(Connection, DataSource) - Static method in class org.springframework.jdbc.datasource.DataSourceUtils
-
Close the given Connection, obtained from the given DataSource, if it is not managed externally (that is, not bound to the thread).
- releaseConnection(Connection) - Method in class org.springframework.jdbc.core.support.JdbcDaoSupport
-
Close the given JDBC Connection, created via this DAO's DataSource, if it isn't bound to the thread.
- releaseConnection(Connection) - Method in interface org.springframework.jdbc.datasource.ConnectionHandle
-
Release the JDBC Connection that this handle refers to.
- released() - Method in class org.springframework.jdbc.datasource.ConnectionHolder
-
Releases the current Connection held by this ConnectionHolder.
- releaseSavepoint(Object) - Method in class org.springframework.jdbc.datasource.JdbcTransactionObjectSupport
-
This implementation releases the given JDBC Savepoint.
- removeCredentialsFromCurrentThread() - Method in class org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter
-
Remove any user credentials for this proxy from the current thread.
- reset() - Method in class org.springframework.jdbc.object.BatchSqlUpdate
-
Reset the statement parameter queue, the rows affected cache, and the execution count.
- resetConnection() - Method in class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Reset the underlying shared Connection, to be reinitialized on next access.
- resetConnectionAfterTransaction(Connection, Integer) - Static method in class org.springframework.jdbc.datasource.DataSourceUtils
-
Deprecated.as of 5.1.11, in favor of
DataSourceUtils.resetConnectionAfterTransaction(Connection, Integer, boolean)
- resetConnectionAfterTransaction(Connection, Integer, boolean) - Static method in class org.springframework.jdbc.datasource.DataSourceUtils
-
Reset the given Connection after a transaction, regarding read-only flag and isolation level.
- resolveErrorCodes(DataSource) - Method in class org.springframework.jdbc.support.SQLErrorCodesFactory
-
Return
SQLErrorCodes
for the givenDataSource
, evaluating "databaseProductName" from theDatabaseMetaData
, ornull
if case of a JDBC meta-data access problem. - resolveSpecifiedDataSource(Object) - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
-
Resolve the specified data source object into a DataSource instance.
- resolveSpecifiedLookupKey(Object) - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
-
Resolve the given lookup key object, as specified in the
targetDataSources
map, into the actual lookup key to be used for matching with thecurrent lookup key
. - resolveSpecifiedLookupKey(Object) - Method in class org.springframework.jdbc.datasource.lookup.IsolationLevelDataSourceRouter
-
Supports Integer values for the isolation level constants as well as isolation level names as defined on the
TransactionDefinition interface
. - resolveSql() - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Resolve the configured SQL for actual use.
- resolveTypeName(int) - Static method in class org.springframework.jdbc.support.JdbcUtils
-
Resolve the standard type name for the given SQL type, if possible.
- ResourceDatabasePopulator - Class in org.springframework.jdbc.datasource.init
-
Populates, initializes, or cleans up a database using SQL scripts defined in external resources.
- ResourceDatabasePopulator() - Constructor for class org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
-
Construct a new
ResourceDatabasePopulator
with default settings. - ResourceDatabasePopulator(boolean, boolean, String, Resource...) - Constructor for class org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
-
Construct a new
ResourceDatabasePopulator
with the supplied values. - ResourceDatabasePopulator(Resource...) - Constructor for class org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
-
Construct a new
ResourceDatabasePopulator
with default settings for the supplied scripts. - ResultSetExtractor<T> - Interface in org.springframework.jdbc.core
-
Callback interface used by
JdbcTemplate
's query methods. - ResultSetSupportingSqlParameter - Class in org.springframework.jdbc.core
-
Common base class for ResultSet-supporting SqlParameters like
SqlOutParameter
andSqlReturnResultSet
. - ResultSetSupportingSqlParameter(String, int) - Constructor for class org.springframework.jdbc.core.ResultSetSupportingSqlParameter
-
Create a new ResultSetSupportingSqlParameter.
- ResultSetSupportingSqlParameter(String, int, int) - Constructor for class org.springframework.jdbc.core.ResultSetSupportingSqlParameter
-
Create a new ResultSetSupportingSqlParameter.
- ResultSetSupportingSqlParameter(String, int, String) - Constructor for class org.springframework.jdbc.core.ResultSetSupportingSqlParameter
-
Create a new ResultSetSupportingSqlParameter.
- ResultSetSupportingSqlParameter(String, int, ResultSetExtractor<?>) - Constructor for class org.springframework.jdbc.core.ResultSetSupportingSqlParameter
-
Create a new ResultSetSupportingSqlParameter.
- ResultSetSupportingSqlParameter(String, int, RowCallbackHandler) - Constructor for class org.springframework.jdbc.core.ResultSetSupportingSqlParameter
-
Create a new ResultSetSupportingSqlParameter.
- ResultSetSupportingSqlParameter(String, int, RowMapper<?>) - Constructor for class org.springframework.jdbc.core.ResultSetSupportingSqlParameter
-
Create a new ResultSetSupportingSqlParameter.
- ResultSetWrappingSqlRowSet - Class in org.springframework.jdbc.support.rowset
-
The common implementation of Spring's
SqlRowSet
interface, wrapping aResultSet
, catching anySQLExceptions
and translating them to a corresponding SpringInvalidResultSetAccessException
. - ResultSetWrappingSqlRowSet(ResultSet) - Constructor for class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
-
Create a new
ResultSetWrappingSqlRowSet
for the givenResultSet
. - ResultSetWrappingSqlRowSetMetaData - Class in org.springframework.jdbc.support.rowset
-
The default implementation of Spring's
SqlRowSetMetaData
interface, wrapping aResultSetMetaData
instance, catching anySQLExceptions
and translating them to a corresponding SpringInvalidResultSetAccessException
. - ResultSetWrappingSqlRowSetMetaData(ResultSetMetaData) - Constructor for class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
-
Create a new ResultSetWrappingSqlRowSetMetaData object for the given ResultSetMetaData instance.
- returningResultSet(String, RowMapper<?>) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- returningResultSet(String, RowMapper<?>) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Used to specify when a ResultSet is returned by the stored procedure and you want it mapped by a
RowMapper
. - rollbackToSavepoint(Object) - Method in class org.springframework.jdbc.datasource.JdbcTransactionObjectSupport
-
This implementation rolls back to the given JDBC Savepoint.
- RowCallbackHandler - Interface in org.springframework.jdbc.core
-
An interface used by
JdbcTemplate
andNamedParameterJdbcTemplate
for processing rows of aResultSet
on a per-row basis. - RowCountCallbackHandler - Class in org.springframework.jdbc.core
-
Implementation of RowCallbackHandler.
- RowCountCallbackHandler() - Constructor for class org.springframework.jdbc.core.RowCountCallbackHandler
- RowMapper<T> - Interface in org.springframework.jdbc.core
-
An interface used by
JdbcTemplate
for mapping rows of aResultSet
on a per-row basis. - RowMapperImpl(Object[], Map<?, ?>) - Constructor for class org.springframework.jdbc.object.MappingSqlQueryWithParameters.RowMapperImpl
-
Use an array results.
- RowMapperImpl(Map<?, ?>) - Constructor for class org.springframework.jdbc.object.UpdatableSqlQuery.RowMapperImpl
- RowMapperResultSetExtractor<T> - Class in org.springframework.jdbc.core
-
Adapter implementation of the ResultSetExtractor interface that delegates to a RowMapper which is supposed to create an object for each row.
- RowMapperResultSetExtractor(RowMapper<T>) - Constructor for class org.springframework.jdbc.core.RowMapperResultSetExtractor
-
Create a new RowMapperResultSetExtractor.
- RowMapperResultSetExtractor(RowMapper<T>, int) - Constructor for class org.springframework.jdbc.core.RowMapperResultSetExtractor
-
Create a new RowMapperResultSetExtractor.
- rowSet() - Method in interface org.springframework.jdbc.core.simple.JdbcClient.ResultQuerySpec
-
Retrieve the result as a row set.
- run() - Method in class org.springframework.jdbc.object.SqlFunction
-
Convenient method to run the function without arguments.
- run(int) - Method in class org.springframework.jdbc.object.SqlFunction
-
Convenient method to run the function with a single int argument.
- run(Object...) - Method in class org.springframework.jdbc.object.SqlFunction
-
Analogous to the SqlQuery.execute([]) method.
- runGeneric() - Method in class org.springframework.jdbc.object.SqlFunction
-
Convenient method to run the function without arguments, returning the value as an object.
- runGeneric(int) - Method in class org.springframework.jdbc.object.SqlFunction
-
Convenient method to run the function with a single int argument.
- runGeneric(Object[]) - Method in class org.springframework.jdbc.object.SqlFunction
-
Analogous to the
SqlQuery.findObject(Object[])
method.
S
- SAVEPOINT_NAME_PREFIX - Static variable in class org.springframework.jdbc.datasource.ConnectionHolder
-
Prefix for savepoint names.
- schemaNameToUse(String) - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Provide any modification of the schema name passed in to match the meta-data currently used.
- schemaNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- schemaNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- schemaNameToUse(String) - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Get the schema name formatted based on meta-data information.
- ScriptException - Exception Class in org.springframework.jdbc.datasource.init
-
Root of the hierarchy of data access exceptions that are related to processing of SQL scripts.
- ScriptException(String) - Constructor for exception class org.springframework.jdbc.datasource.init.ScriptException
-
Create a new
ScriptException
. - ScriptException(String, Throwable) - Constructor for exception class org.springframework.jdbc.datasource.init.ScriptException
-
Create a new
ScriptException
. - ScriptParseException - Exception Class in org.springframework.jdbc.datasource.init
-
Thrown by
ScriptUtils
if an SQL script cannot be properly parsed. - ScriptParseException(String, EncodedResource) - Constructor for exception class org.springframework.jdbc.datasource.init.ScriptParseException
-
Create a new
ScriptParseException
. - ScriptParseException(String, EncodedResource, Throwable) - Constructor for exception class org.springframework.jdbc.datasource.init.ScriptParseException
-
Create a new
ScriptParseException
. - ScriptStatementFailedException - Exception Class in org.springframework.jdbc.datasource.init
-
Thrown by
ScriptUtils
if a statement in an SQL script failed when executing it against the target database. - ScriptStatementFailedException(String, int, EncodedResource, Throwable) - Constructor for exception class org.springframework.jdbc.datasource.init.ScriptStatementFailedException
-
Construct a new
ScriptStatementFailedException
. - ScriptUtils - Class in org.springframework.jdbc.datasource.init
-
Generic utility methods for working with SQL scripts in conjunction with JDBC.
- ScriptUtils() - Constructor for class org.springframework.jdbc.datasource.init.ScriptUtils
- set() - Method in interface org.springframework.jdbc.core.simple.JdbcClient.MappedQuerySpec
-
Retrieve the result as an order-preserving set of mapped objects.
- setAccessCallParameterMetaData(boolean) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Specify whether call parameter meta-data should be accessed.
- setAccessCallParameterMetaData(boolean) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Specify whether the parameter meta-data for the call should be used.
- setAccessTableColumnMetaData(boolean) - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Specify whether we should access table column meta-data.
- setAccessTableColumnMetaData(boolean) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Specify whether the parameter meta-data for the call should be used.
- setAutoCommit(boolean) - Method in class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Specify whether the returned Connection's "autoCommit" setting should be overridden.
- setBadSqlGrammarCodes(String...) - Method in class org.springframework.jdbc.support.SQLErrorCodes
- setBatchSize(int) - Method in class org.springframework.jdbc.object.BatchSqlUpdate
-
Set the number of statements that will trigger an automatic intermediate flush.
- setBeanFactory(BeanFactory) - Method in class org.springframework.jdbc.datasource.lookup.BeanFactoryDataSourceLookup
- setBlobAsBinaryStream(PreparedStatement, int, InputStream, int) - Method in class org.springframework.jdbc.support.lob.DefaultLobHandler.DefaultLobCreator
-
Deprecated.
- setBlobAsBinaryStream(PreparedStatement, int, InputStream, int) - Method in interface org.springframework.jdbc.support.lob.LobCreator
-
Deprecated.Set the given content as binary stream on the given statement, using the given parameter index.
- setBlobAsBinaryStream(PreparedStatement, int, InputStream, int) - Method in class org.springframework.jdbc.support.lob.TemporaryLobCreator
-
Deprecated.
- setBlobAsBytes(PreparedStatement, int, byte[]) - Method in class org.springframework.jdbc.support.lob.DefaultLobHandler.DefaultLobCreator
-
Deprecated.
- setBlobAsBytes(PreparedStatement, int, byte[]) - Method in interface org.springframework.jdbc.support.lob.LobCreator
-
Deprecated.Set the given content as bytes on the given statement, using the given parameter index.
- setBlobAsBytes(PreparedStatement, int, byte[]) - Method in class org.springframework.jdbc.support.lob.TemporaryLobCreator
-
Deprecated.
- setBlockCommentEndDelimiter(String) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Specify the end delimiter for block comments in all SQL scripts.
- setBlockCommentEndDelimiter(String) - Method in class org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
-
Set the end delimiter that identifies block comments within the SQL scripts.
- setBlockCommentStartDelimiter(String) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Specify the start delimiter for block comments in all SQL scripts.
- setBlockCommentStartDelimiter(String) - Method in class org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
-
Set the start delimiter that identifies block comments within the SQL scripts.
- setCacheLimit(int) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
-
Specify the maximum number of entries for this template's SQL cache.
- setCacheSize(int) - Method in class org.springframework.jdbc.support.incrementer.AbstractColumnMaxValueIncrementer
-
Set the number of buffered keys.
- setCannotAcquireLockCodes(String...) - Method in class org.springframework.jdbc.support.SQLErrorCodes
- setCannotSerializeTransactionCodes(String...) - Method in class org.springframework.jdbc.support.SQLErrorCodes
- setCatalog(String) - Method in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
-
Specify a database catalog to be applied to each Connection.
- setCatalog(String) - Method in class org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter
-
Specify a database catalog to be applied to each retrieved Connection.
- setCatalogName(String) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Specify the name of the catalog.
- setCatalogName(String) - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Set the name of the catalog for this context.
- setCatalogName(String) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Set the catalog name to use.
- setCatalogName(String) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Set the name of the catalog for this insert.
- setCheckFullyPopulated(boolean) - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Set whether we're strictly validating that all bean properties have been mapped from corresponding database columns.
- setClobAsAsciiStream(PreparedStatement, int, InputStream, int) - Method in class org.springframework.jdbc.support.lob.DefaultLobHandler.DefaultLobCreator
-
Deprecated.
- setClobAsAsciiStream(PreparedStatement, int, InputStream, int) - Method in interface org.springframework.jdbc.support.lob.LobCreator
-
Deprecated.Set the given content as ASCII stream on the given statement, using the given parameter index.
- setClobAsAsciiStream(PreparedStatement, int, InputStream, int) - Method in class org.springframework.jdbc.support.lob.TemporaryLobCreator
-
Deprecated.
- setClobAsCharacterStream(PreparedStatement, int, Reader, int) - Method in class org.springframework.jdbc.support.lob.DefaultLobHandler.DefaultLobCreator
-
Deprecated.
- setClobAsCharacterStream(PreparedStatement, int, Reader, int) - Method in interface org.springframework.jdbc.support.lob.LobCreator
-
Deprecated.Set the given content as character stream on the given statement, using the given parameter index.
- setClobAsCharacterStream(PreparedStatement, int, Reader, int) - Method in class org.springframework.jdbc.support.lob.TemporaryLobCreator
-
Deprecated.
- setClobAsString(PreparedStatement, int, String) - Method in class org.springframework.jdbc.support.lob.DefaultLobHandler.DefaultLobCreator
-
Deprecated.
- setClobAsString(PreparedStatement, int, String) - Method in interface org.springframework.jdbc.support.lob.LobCreator
-
Deprecated.Set the given content as String on the given statement, using the given parameter index.
- setClobAsString(PreparedStatement, int, String) - Method in class org.springframework.jdbc.support.lob.TemporaryLobCreator
-
Deprecated.
- setColumnName(String) - Method in class org.springframework.jdbc.support.incrementer.AbstractColumnMaxValueIncrementer
-
Set the name of the column in the sequence table.
- setColumnNames(List<String>) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Set the names of the columns to be used.
- setCommentPrefix(String) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Specify the single-line comment prefix used in all SQL scripts.
- setCommentPrefix(String) - Method in class org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
-
Set the prefix that identifies single-line comments within the SQL scripts.
- setCommentPrefixes(String...) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Specify the prefixes that identify single-line comments within all SQL scripts.
- setCommentPrefixes(String...) - Method in class org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
-
Set the prefixes that identify single-line comments within the SQL scripts.
- setConnection(Connection) - Method in class org.springframework.jdbc.datasource.ConnectionHolder
-
Override the existing Connection handle with the given Connection.
- setConnectionHolder(ConnectionHolder) - Method in class org.springframework.jdbc.datasource.JdbcTransactionObjectSupport
-
Set the ConnectionHolder for this transaction object.
- setConnectionProperties(Properties) - Method in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
-
Specify arbitrary connection properties as key/value pairs, to be passed to the Driver.
- setContinueOnError(boolean) - Method in class org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
-
Flag to indicate that all failures in SQL should be logged but not cause a failure.
- setConversionService(ConversionService) - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Set a
ConversionService
for binding JDBC values to bean properties, ornull
for none. - setConversionService(ConversionService) - Method in class org.springframework.jdbc.core.SingleColumnRowMapper
-
Set a
ConversionService
for converting a fetched value. - setCreateTemporaryLob(boolean) - Method in class org.springframework.jdbc.support.lob.DefaultLobHandler
-
Deprecated.Specify whether to copy a byte array / String into a temporary JDBC Blob / Clob object created through the JDBC 4.0
createBlob
/createClob
methods. - setCredentialsForCurrentThread(String, String) - Method in class org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter
-
Set user credentials for this proxy and the current thread.
- setCustomSqlExceptionTranslator(SQLExceptionTranslator) - Method in class org.springframework.jdbc.support.SQLErrorCodes
- setCustomSqlExceptionTranslatorClass(Class<? extends SQLExceptionTranslator>) - Method in class org.springframework.jdbc.support.SQLErrorCodes
- setCustomTranslations(CustomSQLErrorCodesTranslation...) - Method in class org.springframework.jdbc.support.SQLErrorCodes
- setCustomTranslator(SQLExceptionTranslator) - Method in class org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator
-
Set a custom exception translator to override any match that this translator would find.
- setDataAccessResourceFailureCodes(String...) - Method in class org.springframework.jdbc.support.SQLErrorCodes
- setDatabaseCleaner(DatabasePopulator) - Method in class org.springframework.jdbc.datasource.init.DataSourceInitializer
-
Set the
DatabasePopulator
to execute during the bean destruction phase, if any, cleaning up the database and leaving it in a known state for others. - setDatabaseCleaner(DatabasePopulator) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactoryBean
-
Set a script execution to be run in the bean destruction callback, cleaning up the database and leaving it in a known state for others.
- setDatabaseConfigurer(EmbeddedDatabaseConfigurer) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Set the configurer to use to configure the embedded database, as an alternative to
EmbeddedDatabaseBuilder.setType(org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType)
. - setDatabaseConfigurer(EmbeddedDatabaseConfigurer) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory
-
Set the strategy that will be used to configure the embedded database instance.
- setDatabaseName(String) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory
-
Set the name of the database.
- setDatabasePopulator(DatabasePopulator) - Method in class org.springframework.jdbc.datasource.init.DataSourceInitializer
-
Set the
DatabasePopulator
to execute during the bean initialization phase, if any. - setDatabasePopulator(DatabasePopulator) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory
-
Set the strategy that will be used to initialize or populate the embedded database.
- setDatabaseProductName(String) - Method in class org.springframework.jdbc.support.SQLErrorCodes
-
Set this property if the database name contains spaces, in which case we can not use the bean name for lookup.
- setDatabaseProductName(String) - Method in class org.springframework.jdbc.support.JdbcAccessor
-
Specify the database product name for the
DataSource
that this accessor uses. - setDatabaseProductName(String) - Method in class org.springframework.jdbc.support.JdbcTransactionManager
-
Specify the database product name for the
DataSource
that this transaction manager operates on. - setDatabaseProductName(String) - Method in class org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator
-
Set the database product name for this translator.
- setDatabaseProductNames(String...) - Method in class org.springframework.jdbc.support.SQLErrorCodes
-
Set this property to specify multiple database names that contains spaces, in which case we can not use bean names for lookup.
- setDatabaseType(EmbeddedDatabaseType) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory
-
Set the type of embedded database to use.
- setDataIntegrityViolationCodes(String...) - Method in class org.springframework.jdbc.support.SQLErrorCodes
- setDataSource(DataSource) - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
-
Set the JDBC
DataSource
that this instance should manage transactions for. - setDataSource(DataSource) - Method in class org.springframework.jdbc.support.JdbcAccessor
-
Set the JDBC DataSource to obtain connections from.
- setDataSource(DataSource) - Method in class org.springframework.jdbc.core.support.JdbcBeanDefinitionReader
-
Deprecated.Set the DataSource to use to obtain database connections.
- setDataSource(DataSource) - Method in class org.springframework.jdbc.core.support.JdbcDaoSupport
-
Set the JDBC DataSource to be used by this DAO.
- setDataSource(DataSource) - Method in class org.springframework.jdbc.datasource.init.DataSourceInitializer
-
The
DataSource
for the database to populate when this component is initialized and to clean up when this component is shut down. - setDataSource(DataSource) - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Set the JDBC
DataSource
to obtain connections from. - setDataSource(DataSource) - Method in class org.springframework.jdbc.support.DatabaseStartupValidator
-
Set the DataSource to validate.
- setDataSource(DataSource) - Method in class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
-
Set the data source to retrieve the value from.
- setDataSource(DataSource) - Method in class org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator
-
Set the DataSource for this translator.
- setDataSourceFactory(DataSourceFactory) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Set the factory to use to create the
DataSource
instance that connects to the embedded database. - setDataSourceFactory(DataSourceFactory) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory
-
Set the factory to use to create the
DataSource
instance that connects to the embedded database. - setDataSourceLookup(DataSourceLookup) - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
-
Set the DataSourceLookup implementation to use for resolving data source name Strings in the
targetDataSources
map. - setDataSources(Map<String, DataSource>) - Method in class org.springframework.jdbc.datasource.lookup.MapDataSourceLookup
- setDeadlockLoserCodes(String...) - Method in class org.springframework.jdbc.support.SQLErrorCodes
- setDefaultAutoCommit(boolean) - Method in class org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy
-
Set the default auto-commit mode to expose when no target Connection has been fetched yet (when the actual JDBC Connection default is not known yet).
- setDefaultTargetDataSource(Object) - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
-
Specify the default target DataSource, if any.
- setDefaultTransactionIsolation(int) - Method in class org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy
-
Set the default transaction isolation level to expose when no target Connection has been fetched yet (when the actual JDBC Connection default is not known yet).
- setDefaultTransactionIsolationName(String) - Method in class org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy
-
Set the default transaction isolation level by the name of the corresponding constant in
Connection
— for example,"TRANSACTION_SERIALIZABLE"
. - setDeleteSpecificValues(boolean) - Method in class org.springframework.jdbc.support.incrementer.AbstractIdentityColumnMaxValueIncrementer
-
Specify whether to delete the entire range below the current maximum key value (
false
- the default), or the specifically generated values (true
). - setDriver(Driver) - Method in class org.springframework.jdbc.datasource.SimpleDriverDataSource
-
Specify the JDBC Driver instance to use.
- setDriverClass(Class<? extends Driver>) - Method in interface org.springframework.jdbc.datasource.embedded.ConnectionProperties
-
Set the JDBC driver class to use to connect to the database.
- setDriverClass(Class<? extends Driver>) - Method in class org.springframework.jdbc.datasource.SimpleDriverDataSource
-
Specify the JDBC Driver implementation class to use.
- setDriverClassName(String) - Method in class org.springframework.jdbc.datasource.DriverManagerDataSource
-
Set the JDBC driver class name.
- setDummyName(String) - Method in class org.springframework.jdbc.support.incrementer.DerbyMaxValueIncrementer
-
Set the name of the dummy column.
- setDuplicateKeyCodes(String...) - Method in class org.springframework.jdbc.support.SQLErrorCodes
- setEnabled(boolean) - Method in class org.springframework.jdbc.datasource.init.DataSourceInitializer
-
Flag to explicitly enable or disable the database populator and database cleaner.
- setEnforceReadOnly(boolean) - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
-
Specify whether to enforce the read-only nature of a transaction (as indicated by
TransactionDefinition.isReadOnly()
) through an explicit statement on the transactional connection: "SET TRANSACTION READ ONLY" as understood by Oracle, MySQL and Postgres. - setErrorCodes(String...) - Method in class org.springframework.jdbc.support.CustomSQLErrorCodesTranslation
-
Set the SQL error codes to match.
- setExceptionClass(Class<?>) - Method in class org.springframework.jdbc.support.CustomSQLErrorCodesTranslation
-
Set the exception class for the specified error codes.
- setExceptionTranslator(SQLExceptionTranslator) - Method in class org.springframework.jdbc.support.JdbcAccessor
-
Set the exception translator for this instance.
- setExceptionTranslator(SQLExceptionTranslator) - Method in class org.springframework.jdbc.support.JdbcTransactionManager
-
Set the exception translator for this transaction manager.
- setFallbackTranslator(SQLExceptionTranslator) - Method in class org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator
-
Set the fallback translator to use when this translator cannot find a specific match itself.
- setFetchSize(int) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Set the fetch size for this JdbcTemplate.
- setFetchSize(int) - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Set the fetch size for this RDBMS operation.
- setFunction(boolean) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Specify whether this call is a function call.
- setFunction(boolean) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Specify whether this call is a function call.
- setFunction(boolean) - Method in class org.springframework.jdbc.object.SqlCall
-
Set whether this call is for a function.
- setFunctionReturnName(String) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Specify the name used for the return value of the function.
- setGeneratedKeyName(String) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Specify the name of a single generated key column.
- setGeneratedKeyNames(String...) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Set the names of any generated keys.
- setGeneratedKeysColumnNameArraySupported(boolean) - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- setGeneratedKeysColumnNames(String...) - Method in class org.springframework.jdbc.core.PreparedStatementCreatorFactory
-
Set the column names of the auto-generated keys.
- setGeneratedKeysColumnNames(String...) - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Set the column names of the auto-generated keys.
- setGenerateUniqueDatabaseName(boolean) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory
-
Set the
generateUniqueDatabaseName
flag to enable or disable generation of a pseudo-random unique ID to be used as the database name. - setGetGeneratedKeysSupported(boolean) - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- setIgnoreFailedDrops(boolean) - Method in class org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
-
Flag to indicate that a failed SQL
DROP
statement can be ignored. - setIgnoreWarnings(boolean) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Set whether we want to ignore JDBC statement warnings (
SQLWarning
). - setIncrementerName(String) - Method in class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
-
Set the name of the sequence/table.
- setInParameterNames(Set<String>) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Set the names of in parameters to be used.
- setInterval(int) - Method in class org.springframework.jdbc.support.DatabaseStartupValidator
-
Set the interval between validation runs (in seconds).
- setInvalidResultSetAccessCodes(String...) - Method in class org.springframework.jdbc.support.SQLErrorCodes
- setIsolationLevel(int) - Method in class org.springframework.jdbc.datasource.IsolationLevelDataSourceAdapter
-
Specify the default isolation level to use for Connection retrieval, according to the JDBC
Connection
constants (equivalent to the corresponding SpringTransactionDefinition
constants). - setIsolationLevelName(String) - Method in class org.springframework.jdbc.datasource.IsolationLevelDataSourceAdapter
-
Set the default isolation level by the name of the corresponding constant in
TransactionDefinition
— for example,"ISOLATION_SERIALIZABLE"
. - setJdbcTemplate(JdbcTemplate) - Method in class org.springframework.jdbc.core.support.JdbcDaoSupport
-
Set the JdbcTemplate for this DAO explicitly, as an alternative to specifying a DataSource.
- setJdbcTemplate(JdbcTemplate) - Method in class org.springframework.jdbc.core.support.JdbcBeanDefinitionReader
-
Deprecated.Set the JdbcTemplate to be used by this bean factory.
- setJdbcTemplate(JdbcTemplate) - Method in class org.springframework.jdbc.object.RdbmsOperation
-
An alternative to the more commonly used
RdbmsOperation.setDataSource(javax.sql.DataSource)
when you want to use the sameJdbcTemplate
in multipleRdbmsOperations
. - setLazyInit(boolean) - Method in class org.springframework.jdbc.support.JdbcAccessor
-
Set whether to lazily initialize the SQLExceptionTranslator for this accessor, on first encounter of an SQLException.
- setLazyInit(boolean) - Method in class org.springframework.jdbc.support.JdbcTransactionManager
-
Set whether to lazily initialize the SQLExceptionTranslator for this transaction manager, on first encounter of an SQLException.
- setLazyTransactionalConnections(boolean) - Method in class org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy
-
Specify whether to obtain the transactional target Connection lazily on actual data access.
- setLenientFallback(boolean) - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
-
Specify whether to apply a lenient fallback to the default DataSource if no specific DataSource could be found for the current lookup key.
- setLimitedInParameterNames(Set<String>) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Specify a limited set of the
in
parameters to be used. - setLoginTimeout(int) - Method in class org.springframework.jdbc.datasource.AbstractDataSource
-
Setting a login timeout is not supported.
- setLoginTimeout(int) - Method in class org.springframework.jdbc.datasource.DelegatingDataSource
- setLogWriter(PrintWriter) - Method in class org.springframework.jdbc.datasource.AbstractDataSource
-
LogWriter methods are not supported.
- setLogWriter(PrintWriter) - Method in class org.springframework.jdbc.datasource.DelegatingDataSource
- setMappedClass(Class<T>) - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Set the class that each row should be mapped to.
- setMaxRows(int) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Set the maximum number of rows for this JdbcTemplate.
- setMaxRows(int) - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Set the maximum number of rows for this RDBMS operation.
- setMaxRowsAffected(int) - Method in class org.springframework.jdbc.object.SqlUpdate
-
Set the maximum number of rows that may be affected by this update.
- setName(String) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Set the name of the embedded database.
- setNamedBinding(boolean) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Specify whether parameters should be bound by name.
- setNamedBinding(boolean) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Specify whether parameters should be bound by name.
- setOutParameterNames(List<String>) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Specify the names of the
out
parameters. - setOverrideIncludeSynonymsDefault(boolean) - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Specify whether we should override default for accessing synonyms.
- setOverrideIncludeSynonymsDefault(boolean) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Specify whether the default for including synonyms should be changed.
- setPaddingLength(int) - Method in class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
-
Set the padding length, i.e.
- setParameters(SqlParameter...) - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Add one or more declared parameters.
- setParameterValue(PreparedStatement, int, int, Object) - Static method in class org.springframework.jdbc.core.StatementCreatorUtils
-
Set the value for a parameter.
- setParameterValue(PreparedStatement, int, int, String, Object) - Static method in class org.springframework.jdbc.core.StatementCreatorUtils
-
Set the value for a parameter.
- setParameterValue(PreparedStatement, int, SqlParameter, Object) - Static method in class org.springframework.jdbc.core.StatementCreatorUtils
-
Set the value for a parameter.
- setPassword(String) - Method in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
-
Set the JDBC password to use for connecting through the Driver.
- setPassword(String) - Method in interface org.springframework.jdbc.datasource.embedded.ConnectionProperties
-
Set the password to use to connect to the database.
- setPassword(String) - Method in class org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter
-
Set the default user's password that this adapter should use for retrieving Connections.
- setPermissionDeniedCodes(String...) - Method in class org.springframework.jdbc.support.SQLErrorCodes
- setPopulators(DatabasePopulator...) - Method in class org.springframework.jdbc.datasource.init.CompositeDatabasePopulator
-
Specify one or more populators to delegate to.
- setPreviousIsolationLevel(Integer) - Method in class org.springframework.jdbc.datasource.JdbcTransactionObjectSupport
-
Set the previous isolation level to retain, if any.
- setPrimitivesDefaultedForNullValue(boolean) - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Set whether a
NULL
database column value should be ignored when mapping to a corresponding primitive property in the target class. - setProcedureName(String) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Specify the name of the procedure.
- setProcedureName(String) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Set the name of the stored procedure.
- setQueryTimeout(int) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Set the query timeout for statements that this JdbcTemplate executes.
- setQueryTimeout(int) - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Set the query timeout for statements that this RDBMS operation executes.
- setQuoteIdentifiers(boolean) - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Specify whether we are quoting SQL identifiers.
- setQuoteIdentifiers(boolean) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Specify whether SQL identifiers should be quoted.
- setReadOnly(boolean) - Method in class org.springframework.jdbc.datasource.JdbcTransactionObjectSupport
-
Set the read-only status of this transaction.
- setReadOnlyDataSource(DataSource) - Method in class org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy
-
Specify a variant of the target DataSource to use for read-only transactions.
- setReobtainTransactionalConnections(boolean) - Method in class org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy
-
Specify whether to reobtain the target Connection for each operation performed within a transaction.
- setRequiredRowsAffected(int) - Method in class org.springframework.jdbc.object.SqlUpdate
-
Set the exact number of rows that must be affected by this update.
- setRequiredType(Class<T>) - Method in class org.springframework.jdbc.core.SingleColumnRowMapper
-
Set the type that each result object is expected to match.
- setResourceLoader(ResourceLoader) - Method in class org.springframework.jdbc.config.SortedResourcesFactoryBean
- setResultSetType(int) - Method in class org.springframework.jdbc.core.CallableStatementCreatorFactory
-
Set whether to use prepared statements that return a specific type of ResultSet.
- setResultSetType(int) - Method in class org.springframework.jdbc.core.PreparedStatementCreatorFactory
-
Set whether to use prepared statements that return a specific type of ResultSet.
- setResultSetType(int) - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Set whether to use statements that return a specific type of ResultSet.
- setResultsMapCaseInsensitive(boolean) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Set whether execution of a CallableStatement will return the results in a Map that uses case-insensitive names for the parameters.
- setResultType(Class<T>) - Method in class org.springframework.jdbc.object.SqlFunction
-
Specify the type that the result object is required to match.
- setReturnGeneratedKeys(boolean) - Method in class org.springframework.jdbc.core.PreparedStatementCreatorFactory
-
Set whether prepared statements should be capable of returning auto-generated keys.
- setReturnGeneratedKeys(boolean) - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Set whether prepared statements should be capable of returning auto-generated keys.
- setReturnValueRequired(boolean) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Specify whether a return value is required.
- setReturnValueRequired(boolean) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Specify whether the call requires a return value.
- setRollbackBeforeClose(boolean) - Method in class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Specify whether the shared Connection should be explicitly rolled back before close (if not in auto-commit mode).
- setRowMapper(RowMapper<T>) - Method in class org.springframework.jdbc.object.GenericSqlQuery
-
Set a specific
RowMapper
instance to use for this query. - setRowMapperClass(Class<? extends RowMapper>) - Method in class org.springframework.jdbc.object.GenericSqlQuery
- setSavepointAllowed(boolean) - Method in class org.springframework.jdbc.datasource.JdbcTransactionObjectSupport
-
Set whether savepoints are allowed within this transaction.
- setSchema(String) - Method in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
-
Specify a database schema to be applied to each Connection.
- setSchema(String) - Method in class org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter
-
Specify a database schema to be applied to each retrieved Connection.
- setSchemaName(String) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Specify the name of the schema.
- setSchemaName(String) - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Set the name of the schema for this context.
- setSchemaName(String) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Set the schema name to use.
- setSchemaName(String) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Set the name of the schema for this insert.
- setScriptEncoding(String) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Specify the character encoding used in all SQL scripts, if different from the platform encoding.
- setScripts(Resource...) - Method in class org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
-
Set the scripts to execute to initialize or clean up the database, replacing any previously added scripts.
- setSeparator(String) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Specify the statement separator used in all SQL scripts, if a custom one.
- setSeparator(String) - Method in class org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
-
Specify the statement separator, if a custom one.
- setShardingKeyProvider(ShardingKeyProvider) - Method in class org.springframework.jdbc.datasource.ShardingKeyDataSourceAdapter
-
Set the
ShardingKeyProvider
for this adapter. - setSkipResultsProcessing(boolean) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Set whether results processing should be skipped.
- setSkipUndeclaredResults(boolean) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Set whether undeclared results should be skipped.
- setSql(String) - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Set the SQL executed by this operation.
- setSqlErrorCodes(SQLErrorCodes) - Method in class org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator
-
Set custom error codes to be used for translation.
- setSqlReadyForUse(boolean) - Method in class org.springframework.jdbc.object.SqlCall
-
Set whether the SQL can be used as is.
- setSqlScriptEncoding(String) - Method in class org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
-
Specify the encoding for the configured SQL scripts, if different from the platform encoding.
- setStoresLowerCaseIdentifiers(boolean) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
-
Specify whether the database uses lower case for identifiers.
- setStoresLowerCaseIdentifiers(boolean) - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- setStoresUpperCaseIdentifiers(boolean) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
-
Specify whether the database uses upper case for identifiers.
- setStoresUpperCaseIdentifiers(boolean) - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- setStreamAsLob(boolean) - Method in class org.springframework.jdbc.support.lob.DefaultLobHandler
-
Deprecated.Specify whether to submit a binary stream / character stream to the JDBC driver as explicit LOB content, using the JDBC 4.0
setBlob
/setClob
method with a stream argument. - setSupportsCatalogsInProcedureCalls(boolean) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
-
Specify whether the database supports the use of catalog name in procedure calls.
- setSupportsSchemasInProcedureCalls(boolean) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
-
Specify whether the database supports the use of schema name in procedure calls.
- setSuppressClose(boolean) - Method in class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Specify whether the returned Connection should be a close-suppressing proxy or the physical Connection.
- setTableName(String) - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Set the name of the table for this context.
- setTableName(String) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Set the name of the table for this insert.
- setTargetDataSource(DataSource) - Method in class org.springframework.jdbc.datasource.DelegatingDataSource
-
Set the target DataSource that this DataSource should delegate to.
- setTargetDataSources(Map<Object, Object>) - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
-
Specify the map of target DataSources, with the lookup key as key.
- setTimeout(int) - Method in class org.springframework.jdbc.support.DatabaseStartupValidator
-
Set the timeout (in seconds) after which a fatal exception will be thrown.
- setTrackRowsAffected(boolean) - Method in class org.springframework.jdbc.object.BatchSqlUpdate
-
Set whether to track the rows affected by batch updates performed by this operation object.
- setTransactionActive(boolean) - Method in class org.springframework.jdbc.datasource.ConnectionHolder
-
Set whether this holder represents an active, JDBC-managed transaction.
- setTransientDataAccessResourceCodes(String...) - Method in class org.springframework.jdbc.support.SQLErrorCodes
- setTranslators(Map<String, SQLExceptionTranslator>) - Method in class org.springframework.jdbc.support.CustomSQLExceptionTranslatorRegistrar
-
Setter for a Map of
SQLExceptionTranslator
references where the key must be the database name as defined in thesql-error-codes.xml
file. - setType(EmbeddedDatabaseType) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
-
Set the type of embedded database.
- setTypes(int[]) - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Add anonymous parameters, specifying only their SQL types as defined in the
java.sql.Types
class. - setTypeValue(PreparedStatement, int, int, String) - Method in interface org.springframework.jdbc.core.SqlTypeValue
-
Set the type value on the given PreparedStatement.
- setTypeValue(PreparedStatement, int, int, String) - Method in class org.springframework.jdbc.core.support.AbstractSqlTypeValue
- setTypeValue(PreparedStatement, int, int, String) - Method in class org.springframework.jdbc.core.support.SqlBinaryValue
- setTypeValue(PreparedStatement, int, int, String) - Method in class org.springframework.jdbc.core.support.SqlCharacterValue
- setTypeValue(PreparedStatement, int, int, String) - Method in class org.springframework.jdbc.core.support.SqlLobValue
-
Deprecated.Set the specified content via the LobCreator.
- setUpdatableResults(boolean) - Method in class org.springframework.jdbc.core.CallableStatementCreatorFactory
-
Set whether to use prepared statements capable of returning updatable ResultSets.
- setUpdatableResults(boolean) - Method in class org.springframework.jdbc.core.PreparedStatementCreatorFactory
-
Set whether to use prepared statements capable of returning updatable ResultSets.
- setUpdatableResults(boolean) - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Set whether to use statements that are capable of returning updatable ResultSets.
- setUrl(String) - Method in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
-
Set the JDBC URL to use for connecting through the Driver.
- setUrl(String) - Method in interface org.springframework.jdbc.datasource.embedded.ConnectionProperties
-
Set the JDBC connection URL for the database.
- setUseNewConnection(boolean) - Method in class org.springframework.jdbc.support.incrementer.MySQLMaxValueIncrementer
-
Set whether to use a new connection for the incrementer.
- setUsername(String) - Method in class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
-
Set the JDBC username to use for connecting through the Driver.
- setUsername(String) - Method in interface org.springframework.jdbc.datasource.embedded.ConnectionProperties
-
Set the username to use to connect to the database.
- setUsername(String) - Method in class org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter
-
Set the default username that this adapter should use for retrieving Connections.
- setUseSqlStateForTranslation(boolean) - Method in class org.springframework.jdbc.support.SQLErrorCodes
-
Set this property to true for databases that do not provide an error code but that do provide SQL State (this includes PostgreSQL).
- setValidationQuery(String) - Method in class org.springframework.jdbc.support.DatabaseStartupValidator
-
Deprecated.as of 5.3, in favor of the JDBC 4.0 connection validation
- setValue(PreparedStatement, int) - Method in class org.springframework.jdbc.support.SqlArrayValue
- setValue(PreparedStatement, int) - Method in interface org.springframework.jdbc.support.SqlValue
-
Set the value on the given PreparedStatement.
- setValues(PreparedStatement) - Method in class org.springframework.jdbc.core.ArgumentPreparedStatementSetter
- setValues(PreparedStatement) - Method in class org.springframework.jdbc.core.ArgumentTypePreparedStatementSetter
- setValues(PreparedStatement) - Method in interface org.springframework.jdbc.core.PreparedStatementSetter
-
Set parameter values on the given PreparedStatement.
- setValues(PreparedStatement, int) - Method in interface org.springframework.jdbc.core.BatchPreparedStatementSetter
-
Set parameter values on the given PreparedStatement.
- setValues(PreparedStatement, int) - Method in class org.springframework.jdbc.core.support.AbstractInterruptibleBatchPreparedStatementSetter
-
This implementation calls
AbstractInterruptibleBatchPreparedStatementSetter.setValuesIfAvailable(java.sql.PreparedStatement, int)
and sets this instance's exhaustion flag accordingly. - setValues(PreparedStatement, LobCreator) - Method in class org.springframework.jdbc.core.support.AbstractLobCreatingPreparedStatementCallback
-
Deprecated.Set values on the given PreparedStatement, using the given LobCreator for BLOB/CLOB arguments.
- setValues(PreparedStatement, T) - Method in interface org.springframework.jdbc.core.ParameterizedPreparedStatementSetter
-
Set parameter values on the given PreparedStatement.
- setValuesIfAvailable(PreparedStatement, int) - Method in class org.springframework.jdbc.core.support.AbstractInterruptibleBatchPreparedStatementSetter
-
Check for available values and set them on the given PreparedStatement.
- setWrapAsLob(boolean) - Method in class org.springframework.jdbc.support.lob.DefaultLobHandler
-
Deprecated.Specify whether to submit a byte array / String to the JDBC driver wrapped in a JDBC Blob / Clob object, using the JDBC
setBlob
/setClob
method with a Blob / Clob argument. - ShardingKeyDataSourceAdapter - Class in org.springframework.jdbc.datasource
-
An adapter for a target
DataSource
, designed to apply sharding keys, if specified, to every standard#getConnection
call, returning a direct connection to the shard corresponding to the specified sharding key value. - ShardingKeyDataSourceAdapter(DataSource) - Constructor for class org.springframework.jdbc.datasource.ShardingKeyDataSourceAdapter
-
Create a new instance of
ShardingKeyDataSourceAdapter
, wrapping the givenDataSource
. - ShardingKeyDataSourceAdapter(DataSource, ShardingKeyProvider) - Constructor for class org.springframework.jdbc.datasource.ShardingKeyDataSourceAdapter
-
Create a new instance of
ShardingKeyDataSourceAdapter
, wrapping the givenDataSource
. - ShardingKeyProvider - Interface in org.springframework.jdbc.datasource
-
Strategy interface for determining sharding keys which are used to establish direct shard connections in the context of sharded databases.
- shouldClose(Connection) - Method in class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
This is a single Connection: Do not close it when returning to the "pool".
- shouldClose(Connection) - Method in interface org.springframework.jdbc.datasource.SmartDataSource
-
Should we close this Connection, obtained from this DataSource?
- shouldObtainFixedConnection(DataSource) - Method in class org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy
-
Determine whether to obtain a fixed target Connection for the proxy or to reobtain the target Connection for each operation.
- shutdown() - Method in interface org.springframework.jdbc.datasource.embedded.EmbeddedDatabase
-
Shut down this embedded database.
- shutdown(DataSource, String) - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurerDelegate
- shutdown(DataSource, String) - Method in interface org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurer
-
Shut down the embedded database instance that backs the supplied
DataSource
. - shutdownDatabase() - Method in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory
-
Hook to shut down the embedded database.
- SimpleConnectionHandle - Class in org.springframework.jdbc.datasource
-
Simple implementation of the
ConnectionHandle
interface, containing a given JDBC Connection. - SimpleConnectionHandle(Connection) - Constructor for class org.springframework.jdbc.datasource.SimpleConnectionHandle
-
Create a new SimpleConnectionHandle for the given Connection.
- SimpleDriverDataSource - Class in org.springframework.jdbc.datasource
-
Simple implementation of the standard JDBC
DataSource
interface, configuring a plain old JDBCDriver
via bean properties, and returning a newConnection
from everygetConnection
call. - SimpleDriverDataSource() - Constructor for class org.springframework.jdbc.datasource.SimpleDriverDataSource
-
Constructor for bean-style configuration.
- SimpleDriverDataSource(Driver, String) - Constructor for class org.springframework.jdbc.datasource.SimpleDriverDataSource
-
Create a new DriverManagerDataSource with the given standard Driver parameters.
- SimpleDriverDataSource(Driver, String, String, String) - Constructor for class org.springframework.jdbc.datasource.SimpleDriverDataSource
-
Create a new DriverManagerDataSource with the given standard Driver parameters.
- SimpleDriverDataSource(Driver, String, Properties) - Constructor for class org.springframework.jdbc.datasource.SimpleDriverDataSource
-
Create a new DriverManagerDataSource with the given standard Driver parameters.
- SimpleJdbcCall - Class in org.springframework.jdbc.core.simple
-
A SimpleJdbcCall is a multithreaded, reusable object representing a call to a stored procedure or a stored function.
- SimpleJdbcCall(DataSource) - Constructor for class org.springframework.jdbc.core.simple.SimpleJdbcCall
-
Constructor that takes one parameter with the JDBC DataSource to use when creating the underlying JdbcTemplate.
- SimpleJdbcCall(JdbcTemplate) - Constructor for class org.springframework.jdbc.core.simple.SimpleJdbcCall
-
Alternative Constructor that takes one parameter with the JdbcTemplate to be used.
- SimpleJdbcCallOperations - Interface in org.springframework.jdbc.core.simple
-
Interface specifying the API for a Simple JDBC Call implemented by
SimpleJdbcCall
. - SimpleJdbcInsert - Class in org.springframework.jdbc.core.simple
-
A
SimpleJdbcInsert
is a multi-threaded, reusable object providing easy (batch) insert capabilities for a table. - SimpleJdbcInsert(DataSource) - Constructor for class org.springframework.jdbc.core.simple.SimpleJdbcInsert
-
Constructor that accepts the JDBC
DataSource
to use when creating theJdbcTemplate
. - SimpleJdbcInsert(JdbcTemplate) - Constructor for class org.springframework.jdbc.core.simple.SimpleJdbcInsert
-
Alternative constructor that accepts the
JdbcTemplate
to be used. - SimpleJdbcInsertOperations - Interface in org.springframework.jdbc.core.simple
-
Interface specifying the API for a Simple JDBC Insert implemented by
SimpleJdbcInsert
. - SimplePropertyRowMapper<T> - Class in org.springframework.jdbc.core
-
RowMapper
implementation that converts a row into a new instance of the specified mapped target class. - SimplePropertyRowMapper(Class<T>) - Constructor for class org.springframework.jdbc.core.SimplePropertyRowMapper
-
Create a new
SimplePropertyRowMapper
. - SimplePropertyRowMapper(Class<T>, ConversionService) - Constructor for class org.springframework.jdbc.core.SimplePropertyRowMapper
-
Create a new
SimplePropertyRowMapper
. - SimplePropertySqlParameterSource - Class in org.springframework.jdbc.core.namedparam
-
SqlParameterSource
implementation that obtains parameter values from bean properties of a given JavaBean object, from component accessors of a record class, or from raw field access. - SimplePropertySqlParameterSource(Object) - Constructor for class org.springframework.jdbc.core.namedparam.SimplePropertySqlParameterSource
-
Create a new SqlParameterSource for the given bean, record or field holder.
- single() - Method in interface org.springframework.jdbc.core.simple.JdbcClient.MappedQuerySpec
-
Retrieve a single result as a required object instance.
- singleColumn() - Method in interface org.springframework.jdbc.core.simple.JdbcClient.ResultQuerySpec
-
Retrieve a single column result, retaining the order from the original database result.
- SingleColumnRowMapper<T> - Class in org.springframework.jdbc.core
-
RowMapper
implementation that converts a single column into a single result value per row. - SingleColumnRowMapper() - Constructor for class org.springframework.jdbc.core.SingleColumnRowMapper
-
Create a new
SingleColumnRowMapper
for bean-style configuration. - SingleColumnRowMapper(Class<T>) - Constructor for class org.springframework.jdbc.core.SingleColumnRowMapper
-
Create a new
SingleColumnRowMapper
. - SingleConnectionDataSource - Class in org.springframework.jdbc.datasource
-
Implementation of
SmartDataSource
that wraps a single JDBC Connection which is not closed after use. - SingleConnectionDataSource() - Constructor for class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Constructor for bean-style configuration.
- SingleConnectionDataSource(String, boolean) - Constructor for class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Create a new SingleConnectionDataSource with the given standard DriverManager parameters.
- SingleConnectionDataSource(String, String, String, boolean) - Constructor for class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Create a new SingleConnectionDataSource with the given standard DriverManager parameters.
- SingleConnectionDataSource(Connection, boolean) - Constructor for class org.springframework.jdbc.datasource.SingleConnectionDataSource
-
Create a new SingleConnectionDataSource with a given Connection.
- SingleDataSourceLookup - Class in org.springframework.jdbc.datasource.lookup
-
An implementation of the DataSourceLookup that simply wraps a single given DataSource, returned for any data source name.
- SingleDataSourceLookup(DataSource) - Constructor for class org.springframework.jdbc.datasource.lookup.SingleDataSourceLookup
-
Create a new instance of the
SingleDataSourceLookup
class. - singleRow() - Method in interface org.springframework.jdbc.core.simple.JdbcClient.ResultQuerySpec
-
Retrieve a single row result.
- singleValue() - Method in interface org.springframework.jdbc.core.simple.JdbcClient.ResultQuerySpec
-
Retrieve a single value result.
- SmartDataSource - Interface in org.springframework.jdbc.datasource
-
Extension of the
javax.sql.DataSource
interface, to be implemented by special DataSources that return JDBC Connections in an unwrapped fashion. - SortedResourcesFactoryBean - Class in org.springframework.jdbc.config
-
FactoryBean
implementation that takes a list of location Strings and creates a sorted array ofResource
instances. - SortedResourcesFactoryBean(List<String>) - Constructor for class org.springframework.jdbc.config.SortedResourcesFactoryBean
- SortedResourcesFactoryBean(ResourceLoader, List<String>) - Constructor for class org.springframework.jdbc.config.SortedResourcesFactoryBean
- sql(String) - Method in interface org.springframework.jdbc.core.simple.JdbcClient
-
The starting point for any JDBC operation: a custom SQL String.
- SQL_ERROR_CODE_DEFAULT_PATH - Static variable in class org.springframework.jdbc.support.SQLErrorCodesFactory
-
The name of default SQL error code files, loading from the class path.
- SQL_ERROR_CODE_OVERRIDE_PATH - Static variable in class org.springframework.jdbc.support.SQLErrorCodesFactory
-
The name of custom SQL error codes file, loading from the root of the class path (for example, from the "/WEB-INF/classes" directory).
- SqlArrayValue - Class in org.springframework.jdbc.support
-
Common
SqlValue
implementation for JDBCArray
creation based on the JDBC 4Connection.createArrayOf(java.lang.String, java.lang.Object[])
method. - SqlArrayValue(String, Object...) - Constructor for class org.springframework.jdbc.support.SqlArrayValue
-
Create a new
SqlArrayValue
for the given type name and elements. - SqlBinaryValue - Class in org.springframework.jdbc.core.support
-
Object to represent a binary parameter value for a SQL statement, for example, a binary stream for a BLOB or a LONGVARBINARY or PostgreSQL BYTEA column.
- SqlBinaryValue(byte[]) - Constructor for class org.springframework.jdbc.core.support.SqlBinaryValue
-
Create a new
SqlBinaryValue
for the given content. - SqlBinaryValue(InputStream, long) - Constructor for class org.springframework.jdbc.core.support.SqlBinaryValue
-
Create a new
SqlBinaryValue
for the given content. - SqlBinaryValue(InputStreamSource, long) - Constructor for class org.springframework.jdbc.core.support.SqlBinaryValue
-
Create a new
SqlBinaryValue
for the given content. - SqlBinaryValue(Resource) - Constructor for class org.springframework.jdbc.core.support.SqlBinaryValue
-
Create a new
SqlBinaryValue
for the given content. - SqlCall - Class in org.springframework.jdbc.object
-
RdbmsOperation using a JdbcTemplate and representing an SQL-based call such as a stored procedure or a stored function.
- SqlCall() - Constructor for class org.springframework.jdbc.object.SqlCall
-
Constructor to allow use as a JavaBean.
- SqlCall(DataSource, String) - Constructor for class org.springframework.jdbc.object.SqlCall
-
Create a new SqlCall object with SQL, but without parameters.
- SqlCharacterValue - Class in org.springframework.jdbc.core.support
-
Object to represent a character-based parameter value for a SQL statement, for example, a character stream for a CLOB/NCLOB or a LONGVARCHAR column.
- SqlCharacterValue(char[]) - Constructor for class org.springframework.jdbc.core.support.SqlCharacterValue
-
Create a new
SqlCharacterValue
for the given content. - SqlCharacterValue(InputStream, long) - Constructor for class org.springframework.jdbc.core.support.SqlCharacterValue
-
Create a new
SqlCharacterValue
for the given content. - SqlCharacterValue(Reader, long) - Constructor for class org.springframework.jdbc.core.support.SqlCharacterValue
-
Create a new
SqlCharacterValue
for the given content. - SqlCharacterValue(CharSequence) - Constructor for class org.springframework.jdbc.core.support.SqlCharacterValue
-
Create a new CLOB value with the given content string.
- SQLErrorCodes - Class in org.springframework.jdbc.support
-
JavaBean for holding JDBC error codes for a particular database.
- SQLErrorCodes() - Constructor for class org.springframework.jdbc.support.SQLErrorCodes
- SQLErrorCodesFactory - Class in org.springframework.jdbc.support
-
Factory for creating
SQLErrorCodes
based on the "databaseProductName" taken from theDatabaseMetaData
. - SQLErrorCodesFactory() - Constructor for class org.springframework.jdbc.support.SQLErrorCodesFactory
-
Create a new instance of the
SQLErrorCodesFactory
class. - SQLErrorCodeSQLExceptionTranslator - Class in org.springframework.jdbc.support
-
Implementation of
SQLExceptionTranslator
that analyzes vendor-specific error codes. - SQLErrorCodeSQLExceptionTranslator() - Constructor for class org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator
-
Constructor for use as a JavaBean.
- SQLErrorCodeSQLExceptionTranslator(String) - Constructor for class org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator
-
Create an SQL error code translator for the given database product name.
- SQLErrorCodeSQLExceptionTranslator(DataSource) - Constructor for class org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator
-
Create an SQL error code translator for the given DataSource.
- SQLErrorCodeSQLExceptionTranslator(SQLErrorCodes) - Constructor for class org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator
-
Create an SQLErrorCode translator given these error codes.
- SQLExceptionSubclassTranslator - Class in org.springframework.jdbc.support
-
SQLExceptionTranslator
implementation which analyzes the specificSQLException
subclass thrown by the JDBC driver. - SQLExceptionSubclassTranslator() - Constructor for class org.springframework.jdbc.support.SQLExceptionSubclassTranslator
- SQLExceptionTranslator - Interface in org.springframework.jdbc.support
-
Strategy interface for translating between
SQLExceptions
and Spring's data access strategy-agnosticDataAccessException
hierarchy. - SqlFunction<T> - Class in org.springframework.jdbc.object
-
SQL "function" wrapper for a query that returns a single row of results.
- SqlFunction() - Constructor for class org.springframework.jdbc.object.SqlFunction
-
Constructor to allow use as a JavaBean.
- SqlFunction(DataSource, String) - Constructor for class org.springframework.jdbc.object.SqlFunction
-
Create a new SqlFunction object with SQL, but without parameters.
- SqlFunction(DataSource, String, int[]) - Constructor for class org.springframework.jdbc.object.SqlFunction
-
Create a new SqlFunction object with SQL and parameters.
- SqlFunction(DataSource, String, int[], Class<T>) - Constructor for class org.springframework.jdbc.object.SqlFunction
-
Create a new SqlFunction object with SQL, parameters and a result type.
- SqlInOutParameter - Class in org.springframework.jdbc.core
-
Subclass of
SqlOutParameter
to represent an INOUT parameter. - SqlInOutParameter(String, int) - Constructor for class org.springframework.jdbc.core.SqlInOutParameter
-
Create a new SqlInOutParameter.
- SqlInOutParameter(String, int, int) - Constructor for class org.springframework.jdbc.core.SqlInOutParameter
-
Create a new SqlInOutParameter.
- SqlInOutParameter(String, int, String) - Constructor for class org.springframework.jdbc.core.SqlInOutParameter
-
Create a new SqlInOutParameter.
- SqlInOutParameter(String, int, String, SqlReturnType) - Constructor for class org.springframework.jdbc.core.SqlInOutParameter
-
Create a new SqlInOutParameter.
- SqlInOutParameter(String, int, ResultSetExtractor<?>) - Constructor for class org.springframework.jdbc.core.SqlInOutParameter
-
Create a new SqlInOutParameter.
- SqlInOutParameter(String, int, RowCallbackHandler) - Constructor for class org.springframework.jdbc.core.SqlInOutParameter
-
Create a new SqlInOutParameter.
- SqlInOutParameter(String, int, RowMapper<?>) - Constructor for class org.springframework.jdbc.core.SqlInOutParameter
-
Create a new SqlInOutParameter.
- SqlLobValue - Class in org.springframework.jdbc.core.support
-
Deprecated.as of 6.2, in favor of
SqlBinaryValue
andSqlCharacterValue
- SqlLobValue(byte[]) - Constructor for class org.springframework.jdbc.core.support.SqlLobValue
-
Deprecated.Create a new BLOB value with the given byte array, using a DefaultLobHandler.
- SqlLobValue(byte[], LobHandler) - Constructor for class org.springframework.jdbc.core.support.SqlLobValue
-
Deprecated.Create a new BLOB value with the given byte array.
- SqlLobValue(InputStream, int) - Constructor for class org.springframework.jdbc.core.support.SqlLobValue
-
Deprecated.Create a new BLOB/CLOB value with the given stream, using a DefaultLobHandler.
- SqlLobValue(InputStream, int, LobHandler) - Constructor for class org.springframework.jdbc.core.support.SqlLobValue
-
Deprecated.Create a new BLOB/CLOB value with the given stream.
- SqlLobValue(Reader, int) - Constructor for class org.springframework.jdbc.core.support.SqlLobValue
-
Deprecated.Create a new CLOB value with the given character stream, using a DefaultLobHandler.
- SqlLobValue(Reader, int, LobHandler) - Constructor for class org.springframework.jdbc.core.support.SqlLobValue
-
Deprecated.Create a new CLOB value with the given character stream.
- SqlLobValue(String) - Constructor for class org.springframework.jdbc.core.support.SqlLobValue
-
Deprecated.Create a new CLOB value with the given content string, using a DefaultLobHandler.
- SqlLobValue(String, LobHandler) - Constructor for class org.springframework.jdbc.core.support.SqlLobValue
-
Deprecated.Create a new CLOB value with the given content string.
- SqlOperation - Class in org.springframework.jdbc.object
-
Operation object representing an SQL-based operation such as a query or update, as opposed to a stored procedure.
- SqlOperation() - Constructor for class org.springframework.jdbc.object.SqlOperation
- SqlOutParameter - Class in org.springframework.jdbc.core
-
Subclass of
SqlParameter
to represent an output parameter. - SqlOutParameter(String, int) - Constructor for class org.springframework.jdbc.core.SqlOutParameter
-
Create a new SqlOutParameter.
- SqlOutParameter(String, int, int) - Constructor for class org.springframework.jdbc.core.SqlOutParameter
-
Create a new SqlOutParameter.
- SqlOutParameter(String, int, String) - Constructor for class org.springframework.jdbc.core.SqlOutParameter
-
Create a new SqlOutParameter.
- SqlOutParameter(String, int, String, SqlReturnType) - Constructor for class org.springframework.jdbc.core.SqlOutParameter
-
Create a new SqlOutParameter.
- SqlOutParameter(String, int, ResultSetExtractor<?>) - Constructor for class org.springframework.jdbc.core.SqlOutParameter
-
Create a new SqlOutParameter.
- SqlOutParameter(String, int, RowCallbackHandler) - Constructor for class org.springframework.jdbc.core.SqlOutParameter
-
Create a new SqlOutParameter.
- SqlOutParameter(String, int, RowMapper<?>) - Constructor for class org.springframework.jdbc.core.SqlOutParameter
-
Create a new SqlOutParameter.
- SqlParameter - Class in org.springframework.jdbc.core
-
Object to represent an SQL parameter definition.
- SqlParameter(int) - Constructor for class org.springframework.jdbc.core.SqlParameter
-
Create a new anonymous SqlParameter, supplying the SQL type.
- SqlParameter(int, int) - Constructor for class org.springframework.jdbc.core.SqlParameter
-
Create a new anonymous SqlParameter, supplying the SQL type.
- SqlParameter(int, String) - Constructor for class org.springframework.jdbc.core.SqlParameter
-
Create a new anonymous SqlParameter, supplying the SQL type.
- SqlParameter(String, int) - Constructor for class org.springframework.jdbc.core.SqlParameter
-
Create a new SqlParameter, supplying name and SQL type.
- SqlParameter(String, int, int) - Constructor for class org.springframework.jdbc.core.SqlParameter
-
Create a new SqlParameter, supplying name and SQL type.
- SqlParameter(String, int, String) - Constructor for class org.springframework.jdbc.core.SqlParameter
-
Create a new SqlParameter, supplying name and SQL type.
- SqlParameter(SqlParameter) - Constructor for class org.springframework.jdbc.core.SqlParameter
-
Copy constructor.
- SqlParameterSource - Interface in org.springframework.jdbc.core.namedparam
-
Interface that defines common functionality for objects that can offer parameter values for named SQL parameters, serving as argument for
NamedParameterJdbcTemplate
operations. - SqlParameterSourceUtils - Class in org.springframework.jdbc.core.namedparam
-
Class that provides helper methods for the use of
SqlParameterSource
, in particular withNamedParameterJdbcTemplate
. - SqlParameterSourceUtils() - Constructor for class org.springframework.jdbc.core.namedparam.SqlParameterSourceUtils
- SqlParameterValue - Class in org.springframework.jdbc.core
-
Object to represent an SQL parameter value, including parameter meta-data such as the SQL type and the scale for numeric values.
- SqlParameterValue(int, int, Object) - Constructor for class org.springframework.jdbc.core.SqlParameterValue
-
Create a new SqlParameterValue, supplying the SQL type.
- SqlParameterValue(int, Object) - Constructor for class org.springframework.jdbc.core.SqlParameterValue
-
Create a new SqlParameterValue, supplying the SQL type.
- SqlParameterValue(int, String, Object) - Constructor for class org.springframework.jdbc.core.SqlParameterValue
-
Create a new SqlParameterValue, supplying the SQL type.
- SqlParameterValue(SqlParameter, Object) - Constructor for class org.springframework.jdbc.core.SqlParameterValue
-
Create a new SqlParameterValue based on the given SqlParameter declaration.
- SqlProvider - Interface in org.springframework.jdbc.core
-
Interface to be implemented by objects that can provide SQL strings.
- SqlQuery<T> - Class in org.springframework.jdbc.object
-
Reusable operation object representing an SQL query.
- SqlQuery() - Constructor for class org.springframework.jdbc.object.SqlQuery
-
Constructor to allow use as a JavaBean.
- SqlQuery(DataSource, String) - Constructor for class org.springframework.jdbc.object.SqlQuery
-
Convenient constructor with a
DataSource
and SQL string. - SqlReturnResultSet - Class in org.springframework.jdbc.core
-
Represents a returned
ResultSet
from a stored procedure call. - SqlReturnResultSet(String, ResultSetExtractor<?>) - Constructor for class org.springframework.jdbc.core.SqlReturnResultSet
-
Create a new instance of the
SqlReturnResultSet
class. - SqlReturnResultSet(String, RowCallbackHandler) - Constructor for class org.springframework.jdbc.core.SqlReturnResultSet
-
Create a new instance of the
SqlReturnResultSet
class. - SqlReturnResultSet(String, RowMapper<?>) - Constructor for class org.springframework.jdbc.core.SqlReturnResultSet
-
Create a new instance of the
SqlReturnResultSet
class. - SqlReturnType - Interface in org.springframework.jdbc.core
-
Interface to be implemented for retrieving values for more complex database-specific types not supported by the standard
CallableStatement.getObject
method. - SqlReturnUpdateCount - Class in org.springframework.jdbc.core
-
Represents a returned update count from a stored procedure call.
- SqlReturnUpdateCount(String) - Constructor for class org.springframework.jdbc.core.SqlReturnUpdateCount
-
Create a new SqlReturnUpdateCount.
- SqlRowSet - Interface in org.springframework.jdbc.support.rowset
- SqlRowSetMetaData - Interface in org.springframework.jdbc.support.rowset
-
Metadata interface for Spring's
SqlRowSet
, analogous to JDBC'sResultSetMetaData
. - SqlRowSetResultSetExtractor - Class in org.springframework.jdbc.core
-
ResultSetExtractor
implementation that returns a SpringSqlRowSet
representation for each givenResultSet
. - SqlRowSetResultSetExtractor() - Constructor for class org.springframework.jdbc.core.SqlRowSetResultSetExtractor
- SqlServerCallMetaDataProvider - Class in org.springframework.jdbc.core.metadata
-
SQL Server specific implementation for the
CallMetaDataProvider
interface. - SqlServerCallMetaDataProvider(DatabaseMetaData) - Constructor for class org.springframework.jdbc.core.metadata.SqlServerCallMetaDataProvider
- SqlServerMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that increments the maximum value of a given SQL Server table with the equivalent of an auto-increment column. - SqlServerMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.SqlServerMaxValueIncrementer
-
Default constructor for bean property style usage.
- SqlServerMaxValueIncrementer(DataSource, String, String) - Constructor for class org.springframework.jdbc.support.incrementer.SqlServerMaxValueIncrementer
-
Convenience constructor.
- SqlServerSequenceMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that retrieves the next value of a given SQL Server sequence. - SqlServerSequenceMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.SqlServerSequenceMaxValueIncrementer
-
Default constructor for bean property style usage.
- SqlServerSequenceMaxValueIncrementer(DataSource, String) - Constructor for class org.springframework.jdbc.support.incrementer.SqlServerSequenceMaxValueIncrementer
-
Convenience constructor.
- SQLStateSQLExceptionTranslator - Class in org.springframework.jdbc.support
-
SQLExceptionTranslator
implementation that analyzes the SQL state in theSQLException
based on the first two digits (the SQL state "class"). - SQLStateSQLExceptionTranslator() - Constructor for class org.springframework.jdbc.support.SQLStateSQLExceptionTranslator
- sqlTypesToAnonymousParameterList(int...) - Static method in class org.springframework.jdbc.core.SqlParameter
-
Convert a list of JDBC types, as defined in
java.sql.Types
, to a List of SqlParameter objects as used in this package. - SqlTypeValue - Interface in org.springframework.jdbc.core
-
Interface to be implemented for setting values for more complex database-specific types not supported by the standard
setObject
method. - SqlUpdate - Class in org.springframework.jdbc.object
-
Reusable operation object representing an SQL update.
- SqlUpdate() - Constructor for class org.springframework.jdbc.object.SqlUpdate
-
Constructor to allow use as a JavaBean.
- SqlUpdate(DataSource, String) - Constructor for class org.springframework.jdbc.object.SqlUpdate
-
Constructs an update object with a given DataSource and SQL.
- SqlUpdate(DataSource, String, int[]) - Constructor for class org.springframework.jdbc.object.SqlUpdate
-
Construct an update object with a given DataSource, SQL and anonymous parameters.
- SqlUpdate(DataSource, String, int[], int) - Constructor for class org.springframework.jdbc.object.SqlUpdate
-
Construct an update object with a given DataSource, SQL, anonymous parameters and specifying the maximum number of rows that may be affected.
- SqlValue - Interface in org.springframework.jdbc.support
-
Simple interface for complex types to be set as statement parameters.
- SQLWarning() - Method in exception class org.springframework.jdbc.SQLWarningException
-
Deprecated.as of 5.3.29, in favor of
SQLWarningException.getSQLWarning()
- SQLWarningException - Exception Class in org.springframework.jdbc
-
Exception thrown when we're not ignoring
SQLWarnings
. - SQLWarningException(String, SQLWarning) - Constructor for exception class org.springframework.jdbc.SQLWarningException
-
Constructor for SQLWarningException.
- SqlXmlFeatureNotImplementedException - Exception Class in org.springframework.jdbc.support.xml
-
Deprecated.as of 6.2, in favor of direct
ResultSet.getSQLXML(int)
andConnection.createSQLXML()
usage, possibly in combination with a customSqlValue
implementation - SqlXmlFeatureNotImplementedException(String) - Constructor for exception class org.springframework.jdbc.support.xml.SqlXmlFeatureNotImplementedException
-
Deprecated.Constructor for SqlXmlFeatureNotImplementedException.
- SqlXmlFeatureNotImplementedException(String, Throwable) - Constructor for exception class org.springframework.jdbc.support.xml.SqlXmlFeatureNotImplementedException
-
Deprecated.Constructor for SqlXmlFeatureNotImplementedException.
- SqlXmlHandler - Interface in org.springframework.jdbc.support.xml
-
Deprecated.as of 6.2, in favor of direct
ResultSet.getSQLXML(int)
andConnection.createSQLXML()
usage, possibly in combination with a customSqlValue
implementation - SqlXmlValue - Interface in org.springframework.jdbc.support.xml
-
Deprecated.as of 6.2, in favor of a direct
SqlValue
implementation - StatementCallback<T> - Interface in org.springframework.jdbc.core
-
Generic callback interface for code that operates on a JDBC Statement.
- StatementCreatorUtils - Class in org.springframework.jdbc.core
-
Utility methods for PreparedStatementSetter/Creator and CallableStatementCreator implementations, providing sophisticated parameter management (including support for LOB values).
- StatementCreatorUtils() - Constructor for class org.springframework.jdbc.core.StatementCreatorUtils
- StoredProcedure - Class in org.springframework.jdbc.object
-
Superclass for object abstractions of RDBMS stored procedures.
- StoredProcedure() - Constructor for class org.springframework.jdbc.object.StoredProcedure
-
Allow use as a bean.
- StoredProcedure(DataSource, String) - Constructor for class org.springframework.jdbc.object.StoredProcedure
-
Create a new object wrapper for a stored procedure.
- StoredProcedure(JdbcTemplate, String) - Constructor for class org.springframework.jdbc.object.StoredProcedure
-
Create a new object wrapper for a stored procedure.
- stream() - Method in interface org.springframework.jdbc.core.simple.JdbcClient.MappedQuerySpec
-
Retrieve the result as a lazily resolved stream of mapped objects, retaining the order from the original database result.
- streamData(ResultSet) - Method in class org.springframework.jdbc.core.support.AbstractLobStreamingResultSetExtractor
-
Deprecated.Stream LOB content from the given ResultSet to some OutputStream.
- substituteNamedParameters(String, SqlParameterSource) - Static method in class org.springframework.jdbc.core.namedparam.NamedParameterUtils
-
Parse the SQL statement and locate any placeholders or named parameters.
- substituteNamedParameters(ParsedSql, SqlParameterSource) - Static method in class org.springframework.jdbc.core.namedparam.NamedParameterUtils
-
Parse the SQL statement and locate any placeholders or named parameters.
- supportedDatabaseProductsForFunctions - Static variable in class org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory
-
List of supported database products for function calls.
- supportedDatabaseProductsForProcedures - Static variable in class org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory
-
List of supported database products for procedure calls.
- supportsBatchUpdates(Connection) - Static method in class org.springframework.jdbc.support.JdbcUtils
-
Return whether the given JDBC driver supports JDBC batch updates.
- supportsLobParameters() - Method in class org.springframework.jdbc.object.BatchSqlUpdate
-
BatchSqlUpdate does not support BLOB or CLOB parameters.
- supportsLobParameters() - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Return whether BLOB/CLOB parameters are supported for this kind of operation.
- supportsSavepoints() - Method in class org.springframework.jdbc.datasource.ConnectionHolder
-
Return whether JDBC Savepoints are supported.
- suppressProperty(String) - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Remove the specified property from the mapped properties.
- SybaseAnywhereMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that increments the maximum value of a given Sybase table with the equivalent of an auto-increment column. - SybaseAnywhereMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.SybaseAnywhereMaxValueIncrementer
-
Default constructor for bean property style usage.
- SybaseAnywhereMaxValueIncrementer(DataSource, String, String) - Constructor for class org.springframework.jdbc.support.incrementer.SybaseAnywhereMaxValueIncrementer
-
Convenience constructor.
- SybaseCallMetaDataProvider - Class in org.springframework.jdbc.core.metadata
-
Sybase specific implementation for the
CallMetaDataProvider
interface. - SybaseCallMetaDataProvider(DatabaseMetaData) - Constructor for class org.springframework.jdbc.core.metadata.SybaseCallMetaDataProvider
- SybaseMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that increments the maximum value of a given Sybase table with the equivalent of an auto-increment column. - SybaseMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.SybaseMaxValueIncrementer
-
Default constructor for bean property style usage.
- SybaseMaxValueIncrementer(DataSource, String, String) - Constructor for class org.springframework.jdbc.support.incrementer.SybaseMaxValueIncrementer
-
Convenience constructor.
T
- TableMetaDataContext - Class in org.springframework.jdbc.core.metadata
-
Class to manage context meta-data used for the configuration and execution of operations on a database table.
- TableMetaDataContext() - Constructor for class org.springframework.jdbc.core.metadata.TableMetaDataContext
- TableMetaDataProvider - Interface in org.springframework.jdbc.core.metadata
-
Interface specifying the API to be implemented by a class providing table meta-data.
- TableMetaDataProviderFactory - Class in org.springframework.jdbc.core.metadata
-
Factory used to create a
TableMetaDataProvider
implementation based on the type of database being used. - tableNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- tableNameToUse(String) - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Get the table name formatted based on meta-data information.
- TableParameterMetaData - Class in org.springframework.jdbc.core.metadata
-
Holder of meta-data for a specific parameter that is used for table processing.
- TableParameterMetaData(String, int, boolean) - Constructor for class org.springframework.jdbc.core.metadata.TableParameterMetaData
-
Constructor taking all the properties.
- TemporaryLobCreator - Class in org.springframework.jdbc.support.lob
-
Deprecated.as of 6.2, in favor of
SqlBinaryValue
andSqlCharacterValue
- TemporaryLobCreator() - Constructor for class org.springframework.jdbc.support.lob.TemporaryLobCreator
-
Deprecated.
- toString() - Method in class org.springframework.jdbc.core.namedparam.AbstractSqlParameterSource
-
Enumerate the parameter names and values with their corresponding SQL type if available, or just return the simple
SqlParameterSource
implementation class name otherwise. - toString() - Method in class org.springframework.jdbc.core.namedparam.ParsedSql
-
Exposes the original SQL String.
- toString() - Method in class org.springframework.jdbc.datasource.SimpleConnectionHandle
- TransactionAwareDataSourceProxy - Class in org.springframework.jdbc.datasource
-
Proxy for a target JDBC
DataSource
, adding awareness of Spring-managed transactions. - TransactionAwareDataSourceProxy() - Constructor for class org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy
-
Create a new TransactionAwareDataSourceProxy.
- TransactionAwareDataSourceProxy(DataSource) - Constructor for class org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy
-
Create a new TransactionAwareDataSourceProxy.
- translate(String, String, SQLException) - Method in class org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator
-
Pre-checks the arguments, calls
AbstractFallbackSQLExceptionTranslator.doTranslate(java.lang.String, java.lang.String, java.sql.SQLException)
, and invokes thefallback translator
if necessary. - translate(String, String, SQLException) - Method in interface org.springframework.jdbc.support.SQLExceptionTranslator
-
Translate the given
SQLException
into a genericDataAccessException
. - translateException(String, String, SQLException) - Method in class org.springframework.jdbc.core.JdbcTemplate
-
Translate the given
SQLException
into a genericDataAccessException
. - translateException(String, SQLException) - Method in class org.springframework.jdbc.datasource.DataSourceTransactionManager
-
Translate the given JDBC commit/rollback exception to a common Spring exception to propagate from the
AbstractPlatformTransactionManager.commit(org.springframework.transaction.TransactionStatus)
/AbstractPlatformTransactionManager.rollback(org.springframework.transaction.TransactionStatus)
call. - translateException(String, SQLException) - Method in class org.springframework.jdbc.support.JdbcTransactionManager
-
This implementation attempts to use the
SQLExceptionTranslator
, falling back to aTransactionSystemException
. - TYPE_UNKNOWN - Static variable in interface org.springframework.jdbc.core.namedparam.SqlParameterSource
-
Constant that indicates an unknown (or unspecified) SQL type.
- TYPE_UNKNOWN - Static variable in interface org.springframework.jdbc.core.SqlReturnType
-
Constant that indicates an unknown (or unspecified) SQL type.
- TYPE_UNKNOWN - Static variable in interface org.springframework.jdbc.core.SqlTypeValue
-
Constant that indicates an unknown (or unspecified) SQL type.
- TYPE_UNKNOWN - Static variable in class org.springframework.jdbc.support.JdbcUtils
-
Constant that indicates an unknown (or unspecified) SQL type.
U
- UncategorizedScriptException - Exception Class in org.springframework.jdbc.datasource.init
-
Thrown when we cannot determine anything more specific than "something went wrong while processing an SQL script": for example, a
SQLException
from JDBC that we cannot pinpoint more precisely. - UncategorizedScriptException(String) - Constructor for exception class org.springframework.jdbc.datasource.init.UncategorizedScriptException
-
Create a new
UncategorizedScriptException
. - UncategorizedScriptException(String, Throwable) - Constructor for exception class org.springframework.jdbc.datasource.init.UncategorizedScriptException
-
Create a new
UncategorizedScriptException
. - UncategorizedSQLException - Exception Class in org.springframework.jdbc
-
Exception thrown when we can't classify an SQLException into one of our generic data access exceptions.
- UncategorizedSQLException(String, String, SQLException) - Constructor for exception class org.springframework.jdbc.UncategorizedSQLException
-
Constructor for UncategorizedSQLException.
- underscoreName(String) - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Convert a name in camelCase to an underscored name in lower case.
- unregisterDatabase(DataSource) - Method in class org.springframework.jdbc.support.SQLErrorCodesFactory
-
Clear the cache for the specified
DataSource
, if registered. - unwrap(Class<T>) - Method in class org.springframework.jdbc.datasource.AbstractDataSource
- unwrap(Class<T>) - Method in class org.springframework.jdbc.datasource.DelegatingDataSource
- unwrap(Class<T>) - Method in class org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
- UpdatableSqlQuery<T> - Class in org.springframework.jdbc.object
-
Reusable RDBMS query in which concrete subclasses must implement the abstract updateRow(ResultSet, int, context) method to update each row of the JDBC ResultSet and optionally map contents into an object.
- UpdatableSqlQuery() - Constructor for class org.springframework.jdbc.object.UpdatableSqlQuery
-
Constructor to allow use as a JavaBean.
- UpdatableSqlQuery(DataSource, String) - Constructor for class org.springframework.jdbc.object.UpdatableSqlQuery
-
Convenient constructor with DataSource and SQL string.
- UpdatableSqlQuery.RowMapperImpl - Class in org.springframework.jdbc.object
-
Implementation of RowMapper that calls the enclosing class's
updateRow()
method for each row. - update() - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Execute the provided SQL statement as an update.
- update() - Method in class org.springframework.jdbc.object.SqlUpdate
-
Convenience method to execute an update with no parameters.
- update(int) - Method in class org.springframework.jdbc.object.SqlUpdate
-
Convenient method to execute an update given one int arg.
- update(int, int) - Method in class org.springframework.jdbc.object.SqlUpdate
-
Convenient method to execute an update given two int args.
- update(long) - Method in class org.springframework.jdbc.object.SqlUpdate
-
Convenient method to execute an update given one long arg.
- update(long, long) - Method in class org.springframework.jdbc.object.SqlUpdate
-
Convenient method to execute an update given two long args.
- update(Object...) - Method in class org.springframework.jdbc.object.BatchSqlUpdate
-
Overridden version of
update
that adds the given statement parameters to the queue rather than executing them immediately. - update(Object...) - Method in class org.springframework.jdbc.object.SqlUpdate
-
Generic method to execute the update given parameters.
- update(Object[], KeyHolder) - Method in class org.springframework.jdbc.object.SqlUpdate
-
Method to execute the update given arguments and retrieve the generated keys using a KeyHolder.
- update(String) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Issue a single SQL update operation (such as an insert, update or delete statement).
- update(String) - Method in class org.springframework.jdbc.core.JdbcTemplate
- update(String) - Method in class org.springframework.jdbc.object.SqlUpdate
-
Convenient method to execute an update given one String arg.
- update(String, Object...) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Issue a single SQL update operation (such as an insert, update or delete statement) via a prepared statement, binding the given arguments.
- update(String, Object...) - Method in class org.springframework.jdbc.core.JdbcTemplate
- update(String, Object[], int[]) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Issue a single SQL update operation (such as an insert, update or delete statement) via a prepared statement, binding the given arguments.
- update(String, Object[], int[]) - Method in class org.springframework.jdbc.core.JdbcTemplate
- update(String, String) - Method in class org.springframework.jdbc.object.SqlUpdate
-
Convenient method to execute an update given two String args.
- update(String, Map<String, ?>) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Issue an update via a prepared statement, binding the given arguments.
- update(String, Map<String, ?>) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- update(String, PreparedStatementSetter) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Issue an update statement using a PreparedStatementSetter to set bind parameters, with given SQL.
- update(String, PreparedStatementSetter) - Method in class org.springframework.jdbc.core.JdbcTemplate
- update(String, SqlParameterSource) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Issue an update via a prepared statement, binding the given arguments.
- update(String, SqlParameterSource) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- update(String, SqlParameterSource, KeyHolder) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Issue an update via a prepared statement, binding the given arguments, returning generated keys.
- update(String, SqlParameterSource, KeyHolder) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- update(String, SqlParameterSource, KeyHolder, String[]) - Method in interface org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
-
Issue an update via a prepared statement, binding the given arguments, returning generated keys.
- update(String, SqlParameterSource, KeyHolder, String[]) - Method in class org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- update(PreparedStatementCreator) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Issue a single SQL update operation (such as an insert, update or delete statement) using a PreparedStatementCreator to provide SQL and any required parameters.
- update(PreparedStatementCreator) - Method in class org.springframework.jdbc.core.JdbcTemplate
- update(PreparedStatementCreator, PreparedStatementSetter) - Method in class org.springframework.jdbc.core.JdbcTemplate
- update(PreparedStatementCreator, KeyHolder) - Method in interface org.springframework.jdbc.core.JdbcOperations
-
Issue an update statement using a PreparedStatementCreator to provide SQL and any required parameters.
- update(PreparedStatementCreator, KeyHolder) - Method in class org.springframework.jdbc.core.JdbcTemplate
- update(KeyHolder) - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Execute the provided SQL statement as an update.
- update(KeyHolder, String...) - Method in interface org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
-
Execute the provided SQL statement as an update.
- updateByNamedParam(Map<String, ?>) - Method in class org.springframework.jdbc.object.SqlUpdate
-
Generic method to execute the update given named parameters.
- updateByNamedParam(Map<String, ?>, KeyHolder) - Method in class org.springframework.jdbc.object.SqlUpdate
-
Method to execute the update given arguments and retrieve the generated keys using a KeyHolder.
- updateRow(ResultSet, int, Map<?, ?>) - Method in class org.springframework.jdbc.object.UpdatableSqlQuery
-
Subclasses must implement this method to update each row of the ResultSet and optionally create object of the result type.
- Usage Example - Search tag in class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
- Section
- useInParameterNames(String...) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- useInParameterNames(String...) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Not used yet.
- UserCredentialsDataSourceAdapter - Class in org.springframework.jdbc.datasource
-
An adapter for a target JDBC
DataSource
, applying the specified user credentials to every standardgetConnection()
call, implicitly invokinggetConnection(username, password)
on the target. - UserCredentialsDataSourceAdapter() - Constructor for class org.springframework.jdbc.datasource.UserCredentialsDataSourceAdapter
- usingColumns(String...) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcInsert
- usingColumns(String...) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcInsertOperations
-
Specify the column names that the insert statement should be limited to use.
- usingGeneratedKeyColumns(String...) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcInsert
- usingGeneratedKeyColumns(String...) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcInsertOperations
-
Specify the names of any columns that have auto-generated keys.
- usingQuotedIdentifiers() - Method in class org.springframework.jdbc.core.simple.SimpleJdbcInsert
- usingQuotedIdentifiers() - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcInsertOperations
-
Specify that SQL identifiers should be quoted.
V
- validateNamedParameters(Map<String, ?>) - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Validate the named parameters passed to an execute method based on declared parameters.
- validateParameters(Object[]) - Method in class org.springframework.jdbc.object.RdbmsOperation
-
Validate the parameters passed to an execute method based on declared parameters.
- valueOf(String) - Static method in enum class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- wasDataUpdated() - Method in exception class org.springframework.jdbc.JdbcUpdateAffectedIncorrectNumberOfRowsException
- wasNull() - Method in class org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet
- wasNull() - Method in interface org.springframework.jdbc.support.rowset.SqlRowSet
-
Report whether the last column read had a value of SQL
NULL
. - withCatalogName(String) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- withCatalogName(String) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Optionally, specify the name of the catalog that contains the stored procedure.
- withCatalogName(String) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcInsert
- withCatalogName(String) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcInsertOperations
-
Specify the catalog name, if any, to be used for the insert.
- withFunctionName(String) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- withFunctionName(String) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Specify the procedure name to be used - this implies that we will be calling a stored function.
- withNamedBinding() - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- withNamedBinding() - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Indicates that parameters should be bound by name.
- withoutProcedureColumnMetaDataAccess() - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- withoutProcedureColumnMetaDataAccess() - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Turn off any processing of parameter meta-data information obtained via JDBC.
- withoutTableColumnMetaDataAccess() - Method in class org.springframework.jdbc.core.simple.SimpleJdbcInsert
- withoutTableColumnMetaDataAccess() - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcInsertOperations
-
Turn off any processing of column meta-data information obtained via JDBC.
- withProcedureName(String) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- withProcedureName(String) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Specify the procedure name to be used - this implies that we will be calling a stored procedure.
- withReturnValue() - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- withReturnValue() - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Indicates the procedure's return value should be included in the results returned.
- withSchemaName(String) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcCall
- withSchemaName(String) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcCallOperations
-
Optionally, specify the name of the schema that contains the stored procedure.
- withSchemaName(String) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcInsert
- withSchemaName(String) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcInsertOperations
-
Specify the schema name, if any, to be used for the insert.
- withTableName(String) - Method in class org.springframework.jdbc.core.simple.SimpleJdbcInsert
- withTableName(String) - Method in interface org.springframework.jdbc.core.simple.SimpleJdbcInsertOperations
-
Specify the table name to be used for the insert.
X
- XmlBinaryStreamProvider - Interface in org.springframework.jdbc.support.xml
-
Deprecated.as of 6.2, in favor of direct
SQLXML
usage - XmlCharacterStreamProvider - Interface in org.springframework.jdbc.support.xml
-
Deprecated.as of 6.2, in favor of direct
SQLXML
usage - XmlResultProvider - Interface in org.springframework.jdbc.support.xml
-
Deprecated.as of 6.2, in favor of direct
SQLXML
usage
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
SqlBinaryValue
andSqlCharacterValue