Package | Description |
---|---|
org.springframework.dao |
Exception hierarchy enabling sophisticated error handling independent
of the data access approach in use.
|
org.springframework.dao.support |
Support classes for DAO implementations,
providing miscellaneous utility methods.
|
org.springframework.jca.cci |
This package contains Spring's support for the Common Client Interface (CCI),
as defined by the J2EE Connector Architecture.
|
org.springframework.jca.cci.core |
Provides the core JCA CCI support, based on CciTemplate
and its associated callback interfaces.
|
org.springframework.jca.cci.object |
The classes in this package represent EIS operations as threadsafe,
reusable objects.
|
org.springframework.jdbc |
The classes in this package make JDBC easier to use and
reduce the likelihood of common errors.
|
org.springframework.jdbc.core |
Provides the core JDBC framework, based on JdbcTemplate
and its associated callback interfaces and helper objects.
|
org.springframework.jdbc.core.namedparam |
JdbcTemplate variant with named parameter support.
|
org.springframework.jdbc.core.simple |
Simplification layer over JdbcTemplate for Java 5 and above.
|
org.springframework.jdbc.core.support |
Classes supporting the
org.springframework.jdbc.core package. |
org.springframework.jdbc.datasource.lookup |
Provides a strategy for looking up JDBC DataSources by name.
|
org.springframework.jdbc.object |
The classes in this package represent RDBMS queries, updates,
and stored procedures as threadsafe, reusable objects.
|
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 |
Provides a support framework for incrementing database table values
via sequences, with implementations for various databases.
|
org.springframework.jdbc.support.xml |
Abstraction for handling fields of SQLXML data type.
|
org.springframework.orm |
Root package for Spring's O/R Mapping integration classes.
|
org.springframework.orm.hibernate3 |
Package providing integration of
Hibernate 3.x
with Spring concepts.
|
org.springframework.orm.hibernate3.support |
Classes supporting the
org.springframework.orm.hibernate3 package. |
org.springframework.orm.jdo |
Package providing integration of JDO (Java Date Objects) with Spring concepts.
|
org.springframework.orm.jdo.support |
Classes supporting the
org.springframework.orm.jdo package. |
org.springframework.orm.jpa |
Package providing integration of JPA (Java Persistence API) with Spring concepts.
|
org.springframework.orm.jpa.support |
Classes supporting the
org.springframework.orm.jpa package. |
org.springframework.orm.jpa.vendor |
Support classes for adapting to specific JPA vendors.
|
org.springframework.test |
This package contains the legacy JUnit 3.8 class hierarchy, which as of Spring 3.0
has been deprecated in favor of using the listener-based Spring TestContext Framework.
|
org.springframework.test.context.junit38 |
Support classes for ApplicationContext-based and transactional
tests run with JUnit 3.8 and the Spring TestContext Framework.
|
org.springframework.test.context.junit4 |
Support classes for ApplicationContext-based and transactional
tests run with JUnit 4.5+ and the Spring TestContext Framework.
|
org.springframework.test.context.testng |
Support classes for ApplicationContext-based and transactional
tests run with TestNG and the Spring TestContext Framework.
|
org.springframework.test.jdbc |
Support classes for tests based on JDBC.
|
Modifier and Type | Class and Description |
---|---|
class |
CannotAcquireLockException
Exception thrown on failure to aquire a lock during an update,
for example during a "select for update" statement.
|
class |
CannotSerializeTransactionException
Exception thrown on failure to complete a transaction in serialized mode
due to update conflicts.
|
class |
CleanupFailureDataAccessException
Exception thrown when we couldn't cleanup after a data access operation,
but the actual operation went OK.
|
class |
ConcurrencyFailureException
Exception thrown on concurrency failure.
|
class |
DataAccessResourceFailureException
Data access exception thrown when a resource fails completely:
for example, if we can't connect to a database using JDBC.
|
class |
DataIntegrityViolationException
Exception thrown when an attempt to insert or update data
results in violation of an integrity constraint.
|
class |
DataRetrievalFailureException
Exception thrown if certain expected data could not be retrieved, e.g.
|
class |
DeadlockLoserDataAccessException
Generic exception thrown when the current process was
a deadlock loser, and its transaction rolled back.
|
class |
DuplicateKeyException
Exception thrown when an attempt to insert or update data
results in violation of an primary key or unique constraint.
|
class |
EmptyResultDataAccessException
Data access exception thrown when a result was expected to have at least
one row (or element) but zero rows (or elements) were actually returned.
|
class |
IncorrectResultSizeDataAccessException
Data access exception thrown when a result was not of the expected size,
for example when expecting a single row but getting 0 or more than 1 rows.
|
class |
IncorrectUpdateSemanticsDataAccessException
Data access exception thrown when something unintended appears to have
happened with an update, but the transaction hasn't already been rolled back.
|
class |
InvalidDataAccessApiUsageException
Exception thrown on incorrect usage of the API, such as failing to
"compile" a query object that needed compilation before execution.
|
class |
InvalidDataAccessResourceUsageException
Root for exceptions thrown when we use a data access resource incorrectly.
|
class |
NonTransientDataAccessException
Root of the hierarchy of data access exceptions that are considered non-transient -
where a retry of the same operation would fail unless the cause of the Exception
is corrected.
|
class |
NonTransientDataAccessResourceException
Data access exception thrown when a resource fails completely and the failure is permanent.
|
class |
OptimisticLockingFailureException
Exception thrown on an optimistic locking violation.
|
class |
PermissionDeniedDataAccessException
Exception thrown when the underlying resource denied a permission
to access a specific element, such as a specific database table.
|
class |
PessimisticLockingFailureException
Exception thrown on a pessimistic locking violation.
|
class |
QueryTimeoutException
Exception to be thrown on a query timeout.
|
class |
RecoverableDataAccessException
Data access exception thrown when a previously failed operation might be able
to succeed if the application performs some recovery steps and retries the entire
transaction or in the case of a distributed transaction, the transaction branch.
|
class |
TransientDataAccessException
Root of the hierarchy of data access exceptions that are considered transient -
where a previously failed operation might be able to succeed when the operation
is retried without any intervention by application-level functionality.
|
class |
TransientDataAccessResourceException
Data access exception thrown when a resource fails temporarily
and the operation can be retried.
|
class |
TypeMismatchDataAccessException
Exception thrown on mismatch between Java type and database type:
for example on an attempt to set an object of the wrong type
in an RDBMS column.
|
class |
UncategorizedDataAccessException
Normal superclass when we can't distinguish anything more specific
than "something went wrong with the underlying resource": for example,
a SQLException from JDBC we can't pinpoint more precisely.
|
Modifier and Type | Method and Description |
---|---|
DataAccessException |
ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(RuntimeException ex) |
DataAccessException |
PersistenceExceptionTranslator.translateExceptionIfPossible(RuntimeException ex)
Translate the given runtime exception thrown by a persistence framework to a
corresponding exception from Spring's generic DataAccessException hierarchy,
if possible.
|
Modifier and Type | Class and Description |
---|---|
class |
CannotCreateRecordException
Exception thrown when the creating of a CCI Record failed
for connector-internal reasons.
|
class |
CannotGetCciConnectionException
Fatal exception thrown when we can't connect to an EIS using CCI.
|
class |
CciOperationNotSupportedException
Exception thrown when the connector doesn't support a specific CCI operation.
|
class |
InvalidResultSetAccessException
Exception thrown when a ResultSet has been accessed in an invalid fashion.
|
class |
RecordTypeNotSupportedException
Exception thrown when the creating of a CCI Record failed because
the connector doesn't support the desired CCI Record type.
|
Modifier and Type | Method and Description |
---|---|
javax.resource.cci.IndexedRecord |
CciTemplate.createIndexedRecord(String name)
Create an indexed Record through the ConnectionFactory's RecordFactory.
|
javax.resource.cci.MappedRecord |
CciTemplate.createMappedRecord(String name)
Create a mapped Record from the ConnectionFactory's RecordFactory.
|
protected javax.resource.cci.Record |
CciTemplate.createRecord(RecordCreator recordCreator)
Invoke the given RecordCreator, converting JCA ResourceExceptions
to Spring's DataAccessException hierarchy.
|
javax.resource.cci.Record |
RecordCreator.createRecord(javax.resource.cci.RecordFactory recordFactory)
Create a CCI Record instance, usually based on the passed-in CCI RecordFactory.
|
protected <T> T |
CciTemplate.doExecute(javax.resource.cci.InteractionSpec spec,
javax.resource.cci.Record inputRecord,
javax.resource.cci.Record outputRecord,
RecordExtractor<T> outputExtractor)
Execute the specified interaction on an EIS with CCI.
|
T |
ConnectionCallback.doInConnection(javax.resource.cci.Connection connection,
javax.resource.cci.ConnectionFactory connectionFactory)
Gets called by
CciTemplate.execute with an active CCI Connection. |
T |
InteractionCallback.doInInteraction(javax.resource.cci.Interaction interaction,
javax.resource.cci.ConnectionFactory connectionFactory)
Gets called by
CciTemplate.execute with an active CCI Interaction. |
<T> T |
CciOperations.execute(ConnectionCallback<T> action)
Execute a request on an EIS with CCI, implemented as callback action
working on a CCI Connection.
|
<T> T |
CciTemplate.execute(ConnectionCallback<T> action) |
<T> T |
CciOperations.execute(InteractionCallback<T> action)
Execute a request on an EIS with CCI, implemented as callback action
working on a CCI Interaction.
|
<T> T |
CciTemplate.execute(InteractionCallback<T> action) |
javax.resource.cci.Record |
CciOperations.execute(javax.resource.cci.InteractionSpec spec,
javax.resource.cci.Record inputRecord)
Execute the specified interaction on an EIS with CCI.
|
javax.resource.cci.Record |
CciTemplate.execute(javax.resource.cci.InteractionSpec spec,
javax.resource.cci.Record inputRecord) |
javax.resource.cci.Record |
CciOperations.execute(javax.resource.cci.InteractionSpec spec,
RecordCreator inputCreator)
Execute the specified interaction on an EIS with CCI.
|
javax.resource.cci.Record |
CciTemplate.execute(javax.resource.cci.InteractionSpec spec,
RecordCreator inputCreator) |
<T> T |
CciOperations.execute(javax.resource.cci.InteractionSpec spec,
RecordCreator inputCreator,
RecordExtractor<T> outputExtractor)
Execute the specified interaction on an EIS with CCI.
|
<T> T |
CciTemplate.execute(javax.resource.cci.InteractionSpec spec,
RecordCreator inputCreator,
RecordExtractor<T> outputExtractor) |
void |
CciOperations.execute(javax.resource.cci.InteractionSpec spec,
javax.resource.cci.Record inputRecord,
javax.resource.cci.Record outputRecord)
Execute the specified interaction on an EIS with CCI.
|
void |
CciTemplate.execute(javax.resource.cci.InteractionSpec spec,
javax.resource.cci.Record inputRecord,
javax.resource.cci.Record outputRecord) |
<T> T |
CciOperations.execute(javax.resource.cci.InteractionSpec spec,
javax.resource.cci.Record inputRecord,
RecordExtractor<T> outputExtractor)
Execute the specified interaction on an EIS with CCI.
|
<T> T |
CciTemplate.execute(javax.resource.cci.InteractionSpec spec,
javax.resource.cci.Record inputRecord,
RecordExtractor<T> outputExtractor) |
T |
RecordExtractor.extractData(javax.resource.cci.Record record)
Process the data in the given Record, creating a corresponding result object.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
MappingCommAreaOperation.bytesToObject(byte[] bytes)
Method used to convert the COMMAREA's bytes to an object.
|
protected abstract javax.resource.cci.Record |
MappingRecordOperation.createInputRecord(javax.resource.cci.RecordFactory recordFactory,
Object inputObject)
Subclasses must implement this method to generate an input Record
from an input object passed into the
execute method. |
javax.resource.cci.Record |
MappingRecordOperation.RecordCreatorImpl.createRecord(javax.resource.cci.RecordFactory recordFactory) |
Object |
MappingRecordOperation.execute(Object inputObject)
Execute the interaction encapsulated by this operation object.
|
javax.resource.cci.Record |
SimpleRecordOperation.execute(javax.resource.cci.Record inputRecord)
Execute the CCI interaction encapsulated by this operation object.
|
void |
SimpleRecordOperation.execute(javax.resource.cci.Record inputRecord,
javax.resource.cci.Record outputRecord)
Execute the CCI interaction encapsulated by this operation object.
|
Object |
MappingRecordOperation.RecordExtractorImpl.extractData(javax.resource.cci.Record record) |
protected Object |
MappingCommAreaOperation.extractOutputData(javax.resource.cci.Record record) |
protected abstract Object |
MappingRecordOperation.extractOutputData(javax.resource.cci.Record outputRecord)
Subclasses must implement this method to convert the Record returned
by CCI execution into a result object for the
execute method. |
protected abstract byte[] |
MappingCommAreaOperation.objectToBytes(Object inObject)
Method used to convert an object into COMMAREA bytes.
|
Modifier and Type | Class and Description |
---|---|
class |
BadSqlGrammarException
Exception thrown when SQL specified is invalid.
|
class |
CannotGetJdbcConnectionException
Fatal exception thrown when we can't connect to an RDBMS using JDBC.
|
class |
IncorrectResultSetColumnCountException
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 columns.
|
class |
JdbcUpdateAffectedIncorrectNumberOfRowsException
Exception thrown when a JDBC update affects an unexpected number of rows.
|
class |
LobRetrievalFailureException
Exception to be thrown when a LOB could not be retrieved.
|
class |
SQLWarningException
Exception thrown when we're not ignoring
SQLWarnings . |
class |
UncategorizedSQLException
Exception thrown when we can't classify a SQLException into
one of our generic data access exceptions.
|
Modifier and Type | Method and Description |
---|---|
int[] |
JdbcOperations.batchUpdate(String[] sql)
Issue multiple SQL updates on a single JDBC Statement using batching.
|
int[] |
JdbcTemplate.batchUpdate(String[] sql) |
int[] |
JdbcOperations.batchUpdate(String sql,
BatchPreparedStatementSetter pss)
Issue multiple update statements on a single PreparedStatement,
using batch updates and a BatchPreparedStatementSetter to set values.
|
int[] |
JdbcTemplate.batchUpdate(String sql,
BatchPreparedStatementSetter pss) |
<T> int[][] |
JdbcOperations.batchUpdate(String sql,
Collection<T> batchArgs,
int batchSize,
ParameterizedPreparedStatementSetter<T> pss)
Execute multiple batches using the supplied SQL statement with the collect of supplied arguments.
|
<T> int[][] |
JdbcTemplate.batchUpdate(String sql,
Collection<T> batchArgs,
int batchSize,
ParameterizedPreparedStatementSetter<T> pss) |
int[] |
JdbcOperations.batchUpdate(String sql,
List<Object[]> batchArgs)
Execute a batch using the supplied SQL statement with the batch of supplied arguments.
|
int[] |
JdbcTemplate.batchUpdate(String sql,
List<Object[]> batchArgs) |
int[] |
JdbcOperations.batchUpdate(String sql,
List<Object[]> batchArgs,
int[] argTypes)
Execute a batch using the supplied SQL statement with the batch of supplied arguments.
|
int[] |
JdbcTemplate.batchUpdate(String sql,
List<Object[]> batchArgs,
int[] argTypes) |
Map<String,Object> |
JdbcOperations.call(CallableStatementCreator csc,
List<SqlParameter> declaredParameters)
Execute a SQL call using a CallableStatementCreator to provide SQL and any
required parameters.
|
Map<String,Object> |
JdbcTemplate.call(CallableStatementCreator csc,
List<SqlParameter> declaredParameters) |
T |
CallableStatementCallback.doInCallableStatement(CallableStatement cs)
Gets called by
JdbcTemplate.execute with an active JDBC
CallableStatement. |
T |
ConnectionCallback.doInConnection(Connection con)
Gets called by
JdbcTemplate.execute with an active JDBC
Connection. |
T |
PreparedStatementCallback.doInPreparedStatement(PreparedStatement ps)
Gets called by
JdbcTemplate.execute with an active JDBC
PreparedStatement. |
T |
StatementCallback.doInStatement(Statement stmt)
Gets called by
JdbcTemplate.execute with an active JDBC
Statement. |
<T> T |
JdbcOperations.execute(CallableStatementCreator csc,
CallableStatementCallback<T> action)
Execute a JDBC data access operation, implemented as callback action
working on a JDBC CallableStatement.
|
<T> T |
JdbcTemplate.execute(CallableStatementCreator csc,
CallableStatementCallback<T> action) |
<T> T |
JdbcOperations.execute(ConnectionCallback<T> action)
Execute a JDBC data access operation, implemented as callback action
working on a JDBC Connection.
|
<T> T |
JdbcTemplate.execute(ConnectionCallback<T> action) |
<T> T |
JdbcOperations.execute(PreparedStatementCreator psc,
PreparedStatementCallback<T> action)
Execute a JDBC data access operation, implemented as callback action
working on a JDBC PreparedStatement.
|
<T> T |
JdbcTemplate.execute(PreparedStatementCreator psc,
PreparedStatementCallback<T> action) |
<T> T |
JdbcOperations.execute(StatementCallback<T> action)
Execute a JDBC data access operation, implemented as callback action
working on a JDBC Statement.
|
<T> T |
JdbcTemplate.execute(StatementCallback<T> action) |
void |
JdbcOperations.execute(String sql)
Issue a single SQL execute, typically a DDL statement.
|
void |
JdbcTemplate.execute(String sql) |
<T> T |
JdbcOperations.execute(String callString,
CallableStatementCallback<T> action)
Execute a JDBC data access operation, implemented as callback action
working on a JDBC CallableStatement.
|
<T> T |
JdbcTemplate.execute(String callString,
CallableStatementCallback<T> action) |
<T> T |
JdbcOperations.execute(String sql,
PreparedStatementCallback<T> action)
Execute a JDBC data access operation, implemented as callback action
working on a JDBC PreparedStatement.
|
<T> T |
JdbcTemplate.execute(String sql,
PreparedStatementCallback<T> action) |
T |
ResultSetExtractor.extractData(ResultSet rs)
Implementations must implement this method to process the entire ResultSet.
|
<T> T |
JdbcTemplate.query(PreparedStatementCreator psc,
PreparedStatementSetter pss,
ResultSetExtractor<T> rse)
Query using a prepared statement, allowing for a PreparedStatementCreator
and a PreparedStatementSetter.
|
<T> T |
JdbcOperations.query(PreparedStatementCreator psc,
ResultSetExtractor<T> rse)
Query using a prepared statement, reading the ResultSet with a
ResultSetExtractor.
|
<T> T |
JdbcTemplate.query(PreparedStatementCreator psc,
ResultSetExtractor<T> rse) |
void |
JdbcOperations.query(PreparedStatementCreator psc,
RowCallbackHandler rch)
Query using a prepared statement, reading the ResultSet on a per-row
basis with a RowCallbackHandler.
|
void |
JdbcTemplate.query(PreparedStatementCreator psc,
RowCallbackHandler rch) |
<T> List<T> |
JdbcOperations.query(PreparedStatementCreator psc,
RowMapper<T> rowMapper)
Query using a prepared statement, mapping each row to a Java object
via a RowMapper.
|
<T> List<T> |
JdbcTemplate.query(PreparedStatementCreator psc,
RowMapper<T> rowMapper) |
<T> T |
JdbcOperations.query(String sql,
Object[] args,
int[] argTypes,
ResultSetExtractor<T> rse)
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.
|
<T> T |
JdbcTemplate.query(String sql,
Object[] args,
int[] argTypes,
ResultSetExtractor<T> rse) |
void |
JdbcOperations.query(String sql,
Object[] args,
int[] argTypes,
RowCallbackHandler rch)
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.
|
void |
JdbcTemplate.query(String sql,
Object[] args,
int[] argTypes,
RowCallbackHandler rch) |
<T> List<T> |
JdbcOperations.query(String sql,
Object[] args,
int[] argTypes,
RowMapper<T> rowMapper)
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.
|
<T> List<T> |
JdbcTemplate.query(String sql,
Object[] args,
int[] argTypes,
RowMapper<T> rowMapper) |
<T> T |
JdbcOperations.query(String sql,
Object[] args,
ResultSetExtractor<T> rse)
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.
|
<T> T |
JdbcTemplate.query(String sql,
Object[] args,
ResultSetExtractor<T> rse) |
void |
JdbcOperations.query(String sql,
Object[] args,
RowCallbackHandler rch)
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.
|
void |
JdbcTemplate.query(String sql,
Object[] args,
RowCallbackHandler rch) |
<T> List<T> |
JdbcOperations.query(String sql,
Object[] args,
RowMapper<T> rowMapper)
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.
|
<T> List<T> |
JdbcTemplate.query(String sql,
Object[] args,
RowMapper<T> rowMapper) |
<T> T |
JdbcOperations.query(String sql,
PreparedStatementSetter pss,
ResultSetExtractor<T> rse)
Query using a prepared statement, reading the ResultSet with a
ResultSetExtractor.
|
<T> T |
JdbcTemplate.query(String sql,
PreparedStatementSetter pss,
ResultSetExtractor<T> rse) |
void |
JdbcOperations.query(String sql,
PreparedStatementSetter pss,
RowCallbackHandler rch)
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.
|
void |
JdbcTemplate.query(String sql,
PreparedStatementSetter pss,
RowCallbackHandler rch) |
<T> List<T> |
JdbcOperations.query(String sql,
PreparedStatementSetter pss,
RowMapper<T> rowMapper)
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 Java object via a RowMapper.
|
<T> List<T> |
JdbcTemplate.query(String sql,
PreparedStatementSetter pss,
RowMapper<T> rowMapper) |
<T> T |
JdbcOperations.query(String sql,
ResultSetExtractor<T> rse)
Execute a query given static SQL, reading the ResultSet with a
ResultSetExtractor.
|
<T> T |
JdbcTemplate.query(String sql,
ResultSetExtractor<T> rse) |
<T> T |
JdbcOperations.query(String sql,
ResultSetExtractor<T> rse,
Object... args)
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.
|
<T> T |
JdbcTemplate.query(String sql,
ResultSetExtractor<T> rse,
Object... args) |
void |
JdbcOperations.query(String sql,
RowCallbackHandler rch)
Execute a query given static SQL, reading the ResultSet on a per-row
basis with a RowCallbackHandler.
|
void |
JdbcTemplate.query(String sql,
RowCallbackHandler rch) |
void |
JdbcOperations.query(String sql,
RowCallbackHandler rch,
Object... args)
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.
|
void |
JdbcTemplate.query(String sql,
RowCallbackHandler rch,
Object... args) |
<T> List<T> |
JdbcOperations.query(String sql,
RowMapper<T> rowMapper)
Execute a query given static SQL, mapping each row to a Java object
via a RowMapper.
|
<T> List<T> |
JdbcTemplate.query(String sql,
RowMapper<T> rowMapper) |
<T> List<T> |
JdbcOperations.query(String sql,
RowMapper<T> rowMapper,
Object... args)
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.
|
<T> List<T> |
JdbcTemplate.query(String sql,
RowMapper<T> rowMapper,
Object... args) |
int |
JdbcOperations.queryForInt(String sql)
Deprecated.
in favor of
JdbcOperations.queryForObject(String, Class) |
int |
JdbcTemplate.queryForInt(String sql)
Deprecated.
|
int |
JdbcOperations.queryForInt(String sql,
Object... args)
Deprecated.
in favor of
JdbcOperations.queryForObject(String, Class, Object[]) )} |
int |
JdbcTemplate.queryForInt(String sql,
Object... args)
Deprecated.
|
int |
JdbcOperations.queryForInt(String sql,
Object[] args,
int[] argTypes)
Deprecated.
|
int |
JdbcTemplate.queryForInt(String sql,
Object[] args,
int[] argTypes)
Deprecated.
|
List<Map<String,Object>> |
JdbcOperations.queryForList(String sql)
Execute a query for a result list, given static SQL.
|
List<Map<String,Object>> |
JdbcTemplate.queryForList(String sql) |
<T> List<T> |
JdbcOperations.queryForList(String sql,
Class<T> elementType)
Execute a query for a result list, given static SQL.
|
<T> List<T> |
JdbcTemplate.queryForList(String sql,
Class<T> elementType) |
<T> List<T> |
JdbcOperations.queryForList(String sql,
Class<T> elementType,
Object... args)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result list.
|
<T> List<T> |
JdbcTemplate.queryForList(String sql,
Class<T> elementType,
Object... args) |
List<Map<String,Object>> |
JdbcOperations.queryForList(String sql,
Object... args)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result list.
|
List<Map<String,Object>> |
JdbcTemplate.queryForList(String sql,
Object... args) |
<T> List<T> |
JdbcOperations.queryForList(String sql,
Object[] args,
Class<T> elementType)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result list.
|
<T> List<T> |
JdbcTemplate.queryForList(String sql,
Object[] args,
Class<T> elementType) |
List<Map<String,Object>> |
JdbcOperations.queryForList(String sql,
Object[] args,
int[] argTypes)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result list.
|
List<Map<String,Object>> |
JdbcTemplate.queryForList(String sql,
Object[] args,
int[] argTypes) |
<T> List<T> |
JdbcOperations.queryForList(String sql,
Object[] args,
int[] argTypes,
Class<T> elementType)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result list.
|
<T> List<T> |
JdbcTemplate.queryForList(String sql,
Object[] args,
int[] argTypes,
Class<T> elementType) |
long |
JdbcOperations.queryForLong(String sql)
Deprecated.
in favor of
JdbcOperations.queryForObject(String, Class) |
long |
JdbcTemplate.queryForLong(String sql)
Deprecated.
|
long |
JdbcOperations.queryForLong(String sql,
Object... args)
Deprecated.
in favor of
JdbcOperations.queryForObject(String, Class, Object[]) )} |
long |
JdbcTemplate.queryForLong(String sql,
Object... args)
Deprecated.
|
long |
JdbcOperations.queryForLong(String sql,
Object[] args,
int[] argTypes)
Deprecated.
|
long |
JdbcTemplate.queryForLong(String sql,
Object[] args,
int[] argTypes)
Deprecated.
|
Map<String,Object> |
JdbcOperations.queryForMap(String sql)
Execute a query for a result Map, given static SQL.
|
Map<String,Object> |
JdbcTemplate.queryForMap(String sql) |
Map<String,Object> |
JdbcOperations.queryForMap(String sql,
Object... args)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result Map.
|
Map<String,Object> |
JdbcTemplate.queryForMap(String sql,
Object... args) |
Map<String,Object> |
JdbcOperations.queryForMap(String sql,
Object[] args,
int[] argTypes)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result Map.
|
Map<String,Object> |
JdbcTemplate.queryForMap(String sql,
Object[] args,
int[] argTypes) |
<T> T |
JdbcOperations.queryForObject(String sql,
Class<T> requiredType)
Execute a query for a result object, given static SQL.
|
<T> T |
JdbcTemplate.queryForObject(String sql,
Class<T> requiredType) |
<T> T |
JdbcOperations.queryForObject(String sql,
Class<T> requiredType,
Object... args)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result object.
|
<T> T |
JdbcTemplate.queryForObject(String sql,
Class<T> requiredType,
Object... args) |
<T> T |
JdbcOperations.queryForObject(String sql,
Object[] args,
Class<T> requiredType)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result object.
|
<T> T |
JdbcTemplate.queryForObject(String sql,
Object[] args,
Class<T> requiredType) |
<T> T |
JdbcOperations.queryForObject(String sql,
Object[] args,
int[] argTypes,
Class<T> requiredType)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result object.
|
<T> T |
JdbcTemplate.queryForObject(String sql,
Object[] args,
int[] argTypes,
Class<T> requiredType) |
<T> T |
JdbcOperations.queryForObject(String sql,
Object[] args,
int[] argTypes,
RowMapper<T> rowMapper)
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.
|
<T> T |
JdbcTemplate.queryForObject(String sql,
Object[] args,
int[] argTypes,
RowMapper<T> rowMapper) |
<T> T |
JdbcOperations.queryForObject(String sql,
Object[] args,
RowMapper<T> rowMapper)
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.
|
<T> T |
JdbcTemplate.queryForObject(String sql,
Object[] args,
RowMapper<T> rowMapper) |
<T> T |
JdbcOperations.queryForObject(String sql,
RowMapper<T> rowMapper)
Execute a query given static SQL, mapping a single result row to a Java
object via a RowMapper.
|
<T> T |
JdbcTemplate.queryForObject(String sql,
RowMapper<T> rowMapper) |
<T> T |
JdbcOperations.queryForObject(String sql,
RowMapper<T> rowMapper,
Object... args)
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.
|
<T> T |
JdbcTemplate.queryForObject(String sql,
RowMapper<T> rowMapper,
Object... args) |
SqlRowSet |
JdbcOperations.queryForRowSet(String sql)
Execute a query for a SqlRowSet, given static SQL.
|
SqlRowSet |
JdbcTemplate.queryForRowSet(String sql) |
SqlRowSet |
JdbcOperations.queryForRowSet(String sql,
Object... args)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a SqlRowSet.
|
SqlRowSet |
JdbcTemplate.queryForRowSet(String sql,
Object... args) |
SqlRowSet |
JdbcOperations.queryForRowSet(String sql,
Object[] args,
int[] argTypes)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a SqlRowSet.
|
SqlRowSet |
JdbcTemplate.queryForRowSet(String sql,
Object[] args,
int[] argTypes) |
int |
JdbcOperations.update(PreparedStatementCreator psc)
Issue a single SQL update operation (such as an insert, update or delete statement)
using a PreparedStatementCreator to provide SQL and any required parameters.
|
int |
JdbcTemplate.update(PreparedStatementCreator psc) |
int |
JdbcOperations.update(PreparedStatementCreator psc,
KeyHolder generatedKeyHolder)
Issue an update statement using a PreparedStatementCreator to provide SQL and
any required parameters.
|
int |
JdbcTemplate.update(PreparedStatementCreator psc,
KeyHolder generatedKeyHolder) |
protected int |
JdbcTemplate.update(PreparedStatementCreator psc,
PreparedStatementSetter pss) |
int |
JdbcOperations.update(String sql)
Issue a single SQL update operation (such as an insert, update or delete statement).
|
int |
JdbcTemplate.update(String sql) |
int |
JdbcOperations.update(String sql,
Object... args)
Issue a single SQL update operation (such as an insert, update or delete statement)
via a prepared statement, binding the given arguments.
|
int |
JdbcTemplate.update(String sql,
Object... args) |
int |
JdbcOperations.update(String sql,
Object[] args,
int[] argTypes)
Issue a single SQL update operation (such as an insert, update or delete statement)
via a prepared statement, binding the given arguments.
|
int |
JdbcTemplate.update(String sql,
Object[] args,
int[] argTypes) |
int |
JdbcOperations.update(String sql,
PreparedStatementSetter pss)
Issue an update statement using a PreparedStatementSetter to set bind parameters,
with given SQL.
|
int |
JdbcTemplate.update(String sql,
PreparedStatementSetter pss) |
Modifier and Type | Method and Description |
---|---|
<T> T |
NamedParameterJdbcTemplate.execute(String sql,
Map<String,?> paramMap,
PreparedStatementCallback<T> action) |
<T> T |
NamedParameterJdbcOperations.execute(String sql,
Map<String,?> paramMap,
PreparedStatementCallback<T> action)
Execute a JDBC data access operation, implemented as callback action
working on a JDBC PreparedStatement.
|
<T> T |
NamedParameterJdbcTemplate.execute(String sql,
PreparedStatementCallback<T> action) |
<T> T |
NamedParameterJdbcOperations.execute(String sql,
PreparedStatementCallback<T> action)
Execute a JDBC data access operation, implemented as callback action
working on a JDBC PreparedStatement.
|
<T> T |
NamedParameterJdbcTemplate.execute(String sql,
SqlParameterSource paramSource,
PreparedStatementCallback<T> action) |
<T> T |
NamedParameterJdbcOperations.execute(String sql,
SqlParameterSource paramSource,
PreparedStatementCallback<T> action)
Execute a JDBC data access operation, implemented as callback action
working on a JDBC PreparedStatement.
|
<T> T |
NamedParameterJdbcTemplate.query(String sql,
Map<String,?> paramMap,
ResultSetExtractor<T> rse) |
<T> T |
NamedParameterJdbcOperations.query(String sql,
Map<String,?> paramMap,
ResultSetExtractor<T> rse)
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.
|
void |
NamedParameterJdbcTemplate.query(String sql,
Map<String,?> paramMap,
RowCallbackHandler rch) |
void |
NamedParameterJdbcOperations.query(String sql,
Map<String,?> paramMap,
RowCallbackHandler rch)
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.
|
<T> List<T> |
NamedParameterJdbcTemplate.query(String sql,
Map<String,?> paramMap,
RowMapper<T> rowMapper) |
<T> List<T> |
NamedParameterJdbcOperations.query(String sql,
Map<String,?> paramMap,
RowMapper<T> rowMapper)
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.
|
<T> T |
NamedParameterJdbcTemplate.query(String sql,
ResultSetExtractor<T> rse) |
<T> T |
NamedParameterJdbcOperations.query(String sql,
ResultSetExtractor<T> rse)
Query given SQL to create a prepared statement from SQL,
reading the ResultSet with a ResultSetExtractor.
|
void |
NamedParameterJdbcTemplate.query(String sql,
RowCallbackHandler rch) |
void |
NamedParameterJdbcOperations.query(String sql,
RowCallbackHandler rch)
Query given SQL to create a prepared statement from SQL,
reading the ResultSet on a per-row basis with a RowCallbackHandler.
|
<T> List<T> |
NamedParameterJdbcTemplate.query(String sql,
RowMapper<T> rowMapper) |
<T> List<T> |
NamedParameterJdbcOperations.query(String sql,
RowMapper<T> rowMapper)
Query given SQL to create a prepared statement from SQL,
mapping each row to a Java object via a RowMapper.
|
<T> T |
NamedParameterJdbcTemplate.query(String sql,
SqlParameterSource paramSource,
ResultSetExtractor<T> rse) |
<T> T |
NamedParameterJdbcOperations.query(String sql,
SqlParameterSource paramSource,
ResultSetExtractor<T> rse)
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.
|
void |
NamedParameterJdbcTemplate.query(String sql,
SqlParameterSource paramSource,
RowCallbackHandler rch) |
void |
NamedParameterJdbcOperations.query(String sql,
SqlParameterSource paramSource,
RowCallbackHandler rch)
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.
|
<T> List<T> |
NamedParameterJdbcTemplate.query(String sql,
SqlParameterSource paramSource,
RowMapper<T> rowMapper) |
<T> List<T> |
NamedParameterJdbcOperations.query(String sql,
SqlParameterSource paramSource,
RowMapper<T> rowMapper)
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.
|
int |
NamedParameterJdbcTemplate.queryForInt(String sql,
Map<String,?> paramMap)
Deprecated.
|
int |
NamedParameterJdbcOperations.queryForInt(String sql,
Map<String,?> paramMap)
Deprecated.
|
int |
NamedParameterJdbcTemplate.queryForInt(String sql,
SqlParameterSource paramSource)
Deprecated.
|
int |
NamedParameterJdbcOperations.queryForInt(String sql,
SqlParameterSource paramSource)
Deprecated.
|
List<Map<String,Object>> |
NamedParameterJdbcTemplate.queryForList(String sql,
Map<String,?> paramMap) |
List<Map<String,Object>> |
NamedParameterJdbcOperations.queryForList(String sql,
Map<String,?> paramMap)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result list.
|
<T> List<T> |
NamedParameterJdbcTemplate.queryForList(String sql,
Map<String,?> paramMap,
Class<T> elementType) |
<T> List<T> |
NamedParameterJdbcOperations.queryForList(String sql,
Map<String,?> paramMap,
Class<T> elementType)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result list.
|
List<Map<String,Object>> |
NamedParameterJdbcTemplate.queryForList(String sql,
SqlParameterSource paramSource) |
List<Map<String,Object>> |
NamedParameterJdbcOperations.queryForList(String sql,
SqlParameterSource paramSource)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result list.
|
<T> List<T> |
NamedParameterJdbcTemplate.queryForList(String sql,
SqlParameterSource paramSource,
Class<T> elementType) |
<T> List<T> |
NamedParameterJdbcOperations.queryForList(String sql,
SqlParameterSource paramSource,
Class<T> elementType)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result list.
|
long |
NamedParameterJdbcTemplate.queryForLong(String sql,
Map<String,?> paramMap)
Deprecated.
|
long |
NamedParameterJdbcOperations.queryForLong(String sql,
Map<String,?> paramMap)
Deprecated.
|
long |
NamedParameterJdbcTemplate.queryForLong(String sql,
SqlParameterSource paramSource)
Deprecated.
|
long |
NamedParameterJdbcOperations.queryForLong(String sql,
SqlParameterSource paramSource)
Deprecated.
|
Map<String,Object> |
NamedParameterJdbcTemplate.queryForMap(String sql,
Map<String,?> paramMap) |
Map<String,Object> |
NamedParameterJdbcOperations.queryForMap(String sql,
Map<String,?> paramMap)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result Map.
|
Map<String,Object> |
NamedParameterJdbcTemplate.queryForMap(String sql,
SqlParameterSource paramSource) |
Map<String,Object> |
NamedParameterJdbcOperations.queryForMap(String sql,
SqlParameterSource paramSource)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result Map.
|
<T> T |
NamedParameterJdbcTemplate.queryForObject(String sql,
Map<String,?> paramMap,
Class<T> requiredType) |
<T> T |
NamedParameterJdbcOperations.queryForObject(String sql,
Map<String,?> paramMap,
Class<T> requiredType)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result object.
|
<T> T |
NamedParameterJdbcTemplate.queryForObject(String sql,
Map<String,?> paramMap,
RowMapper<T> rowMapper) |
<T> T |
NamedParameterJdbcOperations.queryForObject(String sql,
Map<String,?> paramMap,
RowMapper<T> rowMapper)
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.
|
<T> T |
NamedParameterJdbcTemplate.queryForObject(String sql,
SqlParameterSource paramSource,
Class<T> requiredType) |
<T> T |
NamedParameterJdbcOperations.queryForObject(String sql,
SqlParameterSource paramSource,
Class<T> requiredType)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a result object.
|
<T> T |
NamedParameterJdbcTemplate.queryForObject(String sql,
SqlParameterSource paramSource,
RowMapper<T> rowMapper) |
<T> T |
NamedParameterJdbcOperations.queryForObject(String sql,
SqlParameterSource paramSource,
RowMapper<T> rowMapper)
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.
|
SqlRowSet |
NamedParameterJdbcTemplate.queryForRowSet(String sql,
Map<String,?> paramMap) |
SqlRowSet |
NamedParameterJdbcOperations.queryForRowSet(String sql,
Map<String,?> paramMap)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a SqlRowSet.
|
SqlRowSet |
NamedParameterJdbcTemplate.queryForRowSet(String sql,
SqlParameterSource paramSource) |
SqlRowSet |
NamedParameterJdbcOperations.queryForRowSet(String sql,
SqlParameterSource paramSource)
Query given SQL to create a prepared statement from SQL and a
list of arguments to bind to the query, expecting a SqlRowSet.
|
int |
NamedParameterJdbcTemplate.update(String sql,
Map<String,?> paramMap) |
int |
NamedParameterJdbcOperations.update(String sql,
Map<String,?> paramMap)
Issue an update via a prepared statement, binding the given arguments.
|
int |
NamedParameterJdbcTemplate.update(String sql,
SqlParameterSource paramSource) |
int |
NamedParameterJdbcOperations.update(String sql,
SqlParameterSource paramSource)
Issue an update via a prepared statement, binding the given arguments.
|
int |
NamedParameterJdbcTemplate.update(String sql,
SqlParameterSource paramSource,
KeyHolder generatedKeyHolder) |
int |
NamedParameterJdbcOperations.update(String sql,
SqlParameterSource paramSource,
KeyHolder generatedKeyHolder)
Issue an update via a prepared statement, binding the given arguments,
returning generated keys.
|
int |
NamedParameterJdbcTemplate.update(String sql,
SqlParameterSource paramSource,
KeyHolder generatedKeyHolder,
String[] keyColumnNames) |
int |
NamedParameterJdbcOperations.update(String sql,
SqlParameterSource paramSource,
KeyHolder generatedKeyHolder,
String[] keyColumnNames)
Issue an update via a prepared statement, binding the given arguments,
returning generated keys.
|
Modifier and Type | Method and Description |
---|---|
<T> List<T> |
SimpleJdbcTemplate.query(String sql,
ParameterizedRowMapper<T> rm,
Map<String,?> args)
Deprecated.
|
<T> List<T> |
SimpleJdbcOperations.query(String sql,
ParameterizedRowMapper<T> rm,
Map<String,?> args)
Deprecated.
as of Spring 3.0: Use the method using the newly genericized RowMapper interface
instead since the RowMapper and ParameterizedRowMapper interfaces are equivalent now.
|
<T> List<T> |
SimpleJdbcTemplate.query(String sql,
ParameterizedRowMapper<T> rm,
Object... args)
Deprecated.
|
<T> List<T> |
SimpleJdbcOperations.query(String sql,
ParameterizedRowMapper<T> rm,
Object... args)
Deprecated.
as of Spring 3.0: Use the method using the newly genericized RowMapper interface
instead since the RowMapper and ParameterizedRowMapper interfaces are equivalent now.
|
<T> List<T> |
SimpleJdbcTemplate.query(String sql,
ParameterizedRowMapper<T> rm,
SqlParameterSource args)
Deprecated.
|
<T> List<T> |
SimpleJdbcOperations.query(String sql,
ParameterizedRowMapper<T> rm,
SqlParameterSource args)
Deprecated.
as of Spring 3.0: Use the method using the newly genericized RowMapper interface
instead since the RowMapper and ParameterizedRowMapper interfaces are equivalent now.
|
<T> List<T> |
SimpleJdbcTemplate.query(String sql,
RowMapper<T> rm,
Map<String,?> args)
Deprecated.
|
<T> List<T> |
SimpleJdbcOperations.query(String sql,
RowMapper<T> rm,
Map<String,?> args)
Deprecated.
|
<T> List<T> |
SimpleJdbcTemplate.query(String sql,
RowMapper<T> rm,
Object... args)
Deprecated.
|
<T> List<T> |
SimpleJdbcOperations.query(String sql,
RowMapper<T> rm,
Object... args)
Deprecated.
|
<T> List<T> |
SimpleJdbcTemplate.query(String sql,
RowMapper<T> rm,
SqlParameterSource args)
Deprecated.
|
<T> List<T> |
SimpleJdbcOperations.query(String sql,
RowMapper<T> rm,
SqlParameterSource args)
Deprecated.
|
int |
SimpleJdbcTemplate.queryForInt(String sql,
Map<String,?> args)
Deprecated.
|
int |
SimpleJdbcOperations.queryForInt(String sql,
Map<String,?> args)
Deprecated.
Query for an
int passing in a SQL query
using the named parameter support provided by the
NamedParameterJdbcTemplate
and a map containing the arguments. |
int |
SimpleJdbcTemplate.queryForInt(String sql,
Object... args)
Deprecated.
|
int |
SimpleJdbcOperations.queryForInt(String sql,
Object... args)
Deprecated.
Query for an
int passing in a SQL query
using the standard '?' placeholders for parameters
and a variable number of arguments. |
int |
SimpleJdbcTemplate.queryForInt(String sql,
SqlParameterSource args)
Deprecated.
|
int |
SimpleJdbcOperations.queryForInt(String sql,
SqlParameterSource args)
Deprecated.
Query for an
int passing in a SQL query
using the named parameter support provided by the
NamedParameterJdbcTemplate
and a SqlParameterSource containing the arguments. |
List<Map<String,Object>> |
SimpleJdbcTemplate.queryForList(String sql,
Map<String,?> args)
Deprecated.
|
List<Map<String,Object>> |
SimpleJdbcOperations.queryForList(String sql,
Map<String,?> args)
Deprecated.
Execute the supplied query with the supplied arguments.
|
List<Map<String,Object>> |
SimpleJdbcTemplate.queryForList(String sql,
Object... args)
Deprecated.
|
List<Map<String,Object>> |
SimpleJdbcOperations.queryForList(String sql,
Object... args)
Deprecated.
Execute the supplied query with the (optional) supplied arguments.
|
List<Map<String,Object>> |
SimpleJdbcTemplate.queryForList(String sql,
SqlParameterSource args)
Deprecated.
|
List<Map<String,Object>> |
SimpleJdbcOperations.queryForList(String sql,
SqlParameterSource args)
Deprecated.
Execute the supplied query with the supplied arguments.
|
long |
SimpleJdbcTemplate.queryForLong(String sql,
Map<String,?> args)
Deprecated.
|
long |
SimpleJdbcOperations.queryForLong(String sql,
Map<String,?> args)
Deprecated.
Query for an
long passing in a SQL query
using the named parameter support provided by the
NamedParameterJdbcTemplate
and a map containing the arguments. |
long |
SimpleJdbcTemplate.queryForLong(String sql,
Object... args)
Deprecated.
|
long |
SimpleJdbcOperations.queryForLong(String sql,
Object... args)
Deprecated.
Query for an
long passing in a SQL query
using the standard '?' placeholders for parameters
and a variable number of arguments. |
long |
SimpleJdbcTemplate.queryForLong(String sql,
SqlParameterSource args)
Deprecated.
|
long |
SimpleJdbcOperations.queryForLong(String sql,
SqlParameterSource args)
Deprecated.
Query for an
long passing in a SQL query
using the named parameter support provided by the
NamedParameterJdbcTemplate
and a SqlParameterSource containing the arguments. |
Map<String,Object> |
SimpleJdbcTemplate.queryForMap(String sql,
Map<String,?> args)
Deprecated.
|
Map<String,Object> |
SimpleJdbcOperations.queryForMap(String sql,
Map<String,?> args)
Deprecated.
Execute the supplied query with the supplied arguments.
|
Map<String,Object> |
SimpleJdbcTemplate.queryForMap(String sql,
Object... args)
Deprecated.
|
Map<String,Object> |
SimpleJdbcOperations.queryForMap(String sql,
Object... args)
Deprecated.
Execute the supplied query with the (optional) supplied arguments.
|
Map<String,Object> |
SimpleJdbcTemplate.queryForMap(String sql,
SqlParameterSource args)
Deprecated.
|
Map<String,Object> |
SimpleJdbcOperations.queryForMap(String sql,
SqlParameterSource args)
Deprecated.
Execute the supplied query with the supplied arguments.
|
<T> T |
SimpleJdbcTemplate.queryForObject(String sql,
Class<T> requiredType,
Map<String,?> args)
Deprecated.
|
<T> T |
SimpleJdbcOperations.queryForObject(String sql,
Class<T> requiredType,
Map<String,?> args)
Deprecated.
Query for an object of type
T identified by the supplied @Class . |
<T> T |
SimpleJdbcTemplate.queryForObject(String sql,
Class<T> requiredType,
Object... args)
Deprecated.
|
<T> T |
SimpleJdbcOperations.queryForObject(String sql,
Class<T> requiredType,
Object... args)
Deprecated.
Query for an object of type
T identified by the supplied @Class . |
<T> T |
SimpleJdbcTemplate.queryForObject(String sql,
Class<T> requiredType,
SqlParameterSource args)
Deprecated.
|
<T> T |
SimpleJdbcOperations.queryForObject(String sql,
Class<T> requiredType,
SqlParameterSource args)
Deprecated.
Query for an object of type
T identified by the supplied @Class . |
<T> T |
SimpleJdbcTemplate.queryForObject(String sql,
ParameterizedRowMapper<T> rm,
Map<String,?> args)
Deprecated.
|
<T> T |
SimpleJdbcOperations.queryForObject(String sql,
ParameterizedRowMapper<T> rm,
Map<String,?> args)
Deprecated.
as of Spring 3.0: Use the method using the newly genericized RowMapper interface
instead since the RowMapper and ParameterizedRowMapper interfaces are equivalent now.
|
<T> T |
SimpleJdbcTemplate.queryForObject(String sql,
ParameterizedRowMapper<T> rm,
Object... args)
Deprecated.
|
<T> T |
SimpleJdbcOperations.queryForObject(String sql,
ParameterizedRowMapper<T> rm,
Object... args)
Deprecated.
as of Spring 3.0: Use the method using the newly genericized RowMapper interface
instead since the RowMapper and ParameterizedRowMapper interfaces are equivalent now.
|
<T> T |
SimpleJdbcTemplate.queryForObject(String sql,
ParameterizedRowMapper<T> rm,
SqlParameterSource args)
Deprecated.
|
<T> T |
SimpleJdbcOperations.queryForObject(String sql,
ParameterizedRowMapper<T> rm,
SqlParameterSource args)
Deprecated.
as of Spring 3.0: Use the method using the newly genericized RowMapper interface
instead since the RowMapper and ParameterizedRowMapper interfaces are equivalent now.
|
<T> T |
SimpleJdbcTemplate.queryForObject(String sql,
RowMapper<T> rm,
Map<String,?> args)
Deprecated.
|
<T> T |
SimpleJdbcOperations.queryForObject(String sql,
RowMapper<T> rm,
Map<String,?> args)
Deprecated.
Query for an object of type
T using the supplied
RowMapper to the query results to the object. |
<T> T |
SimpleJdbcTemplate.queryForObject(String sql,
RowMapper<T> rm,
Object... args)
Deprecated.
|
<T> T |
SimpleJdbcOperations.queryForObject(String sql,
RowMapper<T> rm,
Object... args)
Deprecated.
Query for an object of type
T using the supplied
RowMapper to the query results to the object. |
<T> T |
SimpleJdbcTemplate.queryForObject(String sql,
RowMapper<T> rm,
SqlParameterSource args)
Deprecated.
|
<T> T |
SimpleJdbcOperations.queryForObject(String sql,
RowMapper<T> rm,
SqlParameterSource args)
Deprecated.
Query for an object of type
T using the supplied
RowMapper to the query results to the object. |
int |
SimpleJdbcTemplate.update(String sql,
Map<String,?> args)
Deprecated.
|
int |
SimpleJdbcOperations.update(String sql,
Map<String,?> args)
Deprecated.
Execute the supplied SQL statement with (optional) supplied arguments.
|
int |
SimpleJdbcTemplate.update(String sql,
Object... args)
Deprecated.
|
int |
SimpleJdbcOperations.update(String sql,
Object... args)
Deprecated.
Execute the supplied SQL statement with supplied arguments.
|
int |
SimpleJdbcTemplate.update(String sql,
SqlParameterSource args)
Deprecated.
|
int |
SimpleJdbcOperations.update(String sql,
SqlParameterSource args)
Deprecated.
Execute the supplied SQL statement with supplied arguments.
|
Modifier and Type | Method and Description |
---|---|
Integer |
AbstractLobCreatingPreparedStatementCallback.doInPreparedStatement(PreparedStatement ps) |
Object |
AbstractLobStreamingResultSetExtractor.extractData(ResultSet rs)
Delegates to handleNoRowFound, handleMultipleRowsFound and streamData,
according to the ResultSet state.
|
protected void |
AbstractLobStreamingResultSetExtractor.handleMultipleRowsFound()
Handle the case where the ResultSet contains multiple rows.
|
protected void |
AbstractLobStreamingResultSetExtractor.handleNoRowFound()
Handle the case where the ResultSet does not contain a row.
|
protected abstract void |
AbstractLobCreatingPreparedStatementCallback.setValues(PreparedStatement ps,
LobCreator lobCreator)
Set values on the given PreparedStatement, using the given
LobCreator for BLOB/CLOB arguments.
|
protected abstract void |
AbstractLobStreamingResultSetExtractor.streamData(ResultSet rs)
Stream LOB content from the given ResultSet to some OutputStream.
|
Modifier and Type | Class and Description |
---|---|
class |
DataSourceLookupFailureException
Exception to be thrown by a DataSourceLookup implementation,
indicating that the specified DataSource could not be obtained.
|
Modifier and Type | Method and Description |
---|---|
List<T> |
SqlQuery.execute()
Convenient method to execute without parameters nor context.
|
List<T> |
SqlQuery.execute(int p1)
Convenient method to execute with a single int parameter.
|
List<T> |
SqlQuery.execute(int p1,
int p2)
Convenient method to execute with two int parameters.
|
List<T> |
SqlQuery.execute(int p1,
int p2,
Map context)
Convenient method to execute with two int parameters and context.
|
List<T> |
SqlQuery.execute(int p1,
Map context)
Convenient method to execute with a single int parameter and context.
|
List<T> |
SqlQuery.execute(long p1)
Convenient method to execute with a single long parameter.
|
List<T> |
SqlQuery.execute(long p1,
Map context)
Convenient method to execute with a single long parameter and context.
|
List<T> |
SqlQuery.execute(Map context)
Convenient method to execute without parameters.
|
Map<String,Object> |
StoredProcedure.execute(Map<String,?> inParams)
Execute the stored procedure.
|
List<T> |
SqlQuery.execute(Object... params)
Convenient method to execute without context.
|
List<T> |
SqlQuery.execute(Object[] params,
Map context)
Central execution method.
|
Map<String,Object> |
StoredProcedure.execute(ParameterMapper inParamMapper)
Execute the stored procedure.
|
List<T> |
SqlQuery.execute(String p1)
Convenient method to execute with a single String parameter.
|
List<T> |
SqlQuery.execute(String p1,
Map context)
Convenient method to execute with a single String parameter and context.
|
List<T> |
SqlQuery.executeByNamedParam(Map<String,?> paramMap)
Convenient method to execute without context.
|
List<T> |
SqlQuery.executeByNamedParam(Map<String,?> paramMap,
Map context)
Central execution method.
|
T |
SqlQuery.findObject(int p1)
Convenient method to find a single object given a single int parameter.
|
T |
SqlQuery.findObject(int p1,
int p2)
Convenient method to find a single object given two int parameters.
|
T |
SqlQuery.findObject(int p1,
int p2,
Map context)
Convenient method to find a single object given two int parameters
and a context.
|
T |
SqlQuery.findObject(int p1,
Map context)
Convenient method to find a single object given a single int parameter
and a context.
|
T |
SqlQuery.findObject(long p1)
Convenient method to find a single object given a single long parameter.
|
T |
SqlQuery.findObject(long p1,
Map context)
Convenient method to find a single object given a single long parameter
and a context.
|
T |
SqlQuery.findObject(Object... params)
Convenient method to find a single object without context.
|
T |
SqlQuery.findObject(Object[] params,
Map context)
Generic object finder method, used by all other
findObject methods. |
T |
SqlQuery.findObject(String p1)
Convenient method to find a single object given a single String parameter.
|
T |
SqlQuery.findObject(String p1,
Map context)
Convenient method to find a single object given a single String parameter
and a context.
|
T |
SqlQuery.findObjectByNamedParam(Map<String,?> paramMap)
Convenient method to execute without context.
|
T |
SqlQuery.findObjectByNamedParam(Map<String,?> paramMap,
Map context)
Generic object finder method for named parameters.
|
int |
SqlUpdate.update()
Convenience method to execute an update with no parameters.
|
int |
SqlUpdate.update(int p1)
Convenient method to execute an update given one int arg.
|
int |
SqlUpdate.update(int p1,
int p2)
Convenient method to execute an update given two int args.
|
int |
SqlUpdate.update(long p1)
Convenient method to execute an update given one long arg.
|
int |
SqlUpdate.update(long p1,
long p2)
Convenient method to execute an update given two long args.
|
int |
BatchSqlUpdate.update(Object... params)
Overridden version of
update that adds the given statement
parameters to the queue rather than executing them immediately. |
int |
SqlUpdate.update(Object... params)
Generic method to execute the update given parameters.
|
int |
SqlUpdate.update(Object[] params,
KeyHolder generatedKeyHolder)
Method to execute the update given arguments and
retrieve the generated keys using a KeyHolder.
|
int |
SqlUpdate.update(String p)
Convenient method to execute an update given one String arg.
|
int |
SqlUpdate.update(String p1,
String p2)
Convenient method to execute an update given two String args.
|
int |
SqlUpdate.updateByNamedParam(Map<String,?> paramMap)
Generic method to execute the update given named parameters.
|
int |
SqlUpdate.updateByNamedParam(Map<String,?> paramMap,
KeyHolder generatedKeyHolder)
Method to execute the update given arguments and
retrieve the generated keys using a KeyHolder.
|
Modifier and Type | Method and Description |
---|---|
protected DataAccessException |
SQLErrorCodeSQLExceptionTranslator.createCustomException(String task,
String sql,
SQLException sqlEx,
Class exceptionClass)
Create a custom DataAccessException, based on a given exception
class from a CustomSQLErrorCodesTranslation definition.
|
protected DataAccessException |
SQLErrorCodeSQLExceptionTranslator.customTranslate(String task,
String sql,
SQLException sqlEx)
Subclasses can override this method to attempt a custom mapping from SQLException
to DataAccessException.
|
protected DataAccessException |
SQLStateSQLExceptionTranslator.doTranslate(String task,
String sql,
SQLException ex) |
protected DataAccessException |
SQLErrorCodeSQLExceptionTranslator.doTranslate(String task,
String sql,
SQLException ex) |
protected abstract DataAccessException |
AbstractFallbackSQLExceptionTranslator.doTranslate(String task,
String sql,
SQLException ex)
Template method for actually translating the given exception.
|
protected DataAccessException |
SQLExceptionSubclassTranslator.doTranslate(String task,
String sql,
SQLException ex) |
DataAccessException |
SQLExceptionTranslator.translate(String task,
String sql,
SQLException ex)
Translate the given
SQLException into a generic DataAccessException . |
DataAccessException |
AbstractFallbackSQLExceptionTranslator.translate(String task,
String sql,
SQLException ex)
Pre-checks the arguments, calls
AbstractFallbackSQLExceptionTranslator.doTranslate(java.lang.String, java.lang.String, java.sql.SQLException) , and invokes the
fallback translator if necessary. |
Modifier and Type | Method and Description |
---|---|
protected long |
DerbyMaxValueIncrementer.getNextKey() |
protected long |
SqlServerMaxValueIncrementer.getNextKey() |
protected long |
HsqlMaxValueIncrementer.getNextKey() |
protected long |
AbstractSequenceMaxValueIncrementer.getNextKey()
Executes the SQL as specified by
AbstractSequenceMaxValueIncrementer.getSequenceQuery() . |
protected long |
SybaseMaxValueIncrementer.getNextKey() |
protected long |
MySQLMaxValueIncrementer.getNextKey() |
int |
AbstractDataFieldMaxValueIncrementer.nextIntValue() |
int |
DataFieldMaxValueIncrementer.nextIntValue()
Increment the data store field's max value as int.
|
long |
AbstractDataFieldMaxValueIncrementer.nextLongValue() |
long |
DataFieldMaxValueIncrementer.nextLongValue()
Increment the data store field's max value as long.
|
String |
AbstractDataFieldMaxValueIncrementer.nextStringValue() |
String |
DataFieldMaxValueIncrementer.nextStringValue()
Increment the data store field's max value as String.
|
Modifier and Type | Class and Description |
---|---|
class |
SqlXmlFeatureNotImplementedException
Exception thrown when the underlying implementation does not support the
requested feature of the API.
|
Modifier and Type | Class and Description |
---|---|
class |
ObjectOptimisticLockingFailureException
Exception thrown on an optimistic locking violation for a mapped object.
|
class |
ObjectRetrievalFailureException
Exception thrown if a mapped object could not be retrieved via its identifier.
|
Modifier and Type | Class and Description |
---|---|
class |
HibernateJdbcException
Hibernate-specific subclass of UncategorizedDataAccessException,
for JDBC exceptions that Hibernate wrapped.
|
class |
HibernateObjectRetrievalFailureException
Hibernate-specific subclass of ObjectRetrievalFailureException.
|
class |
HibernateOptimisticLockingFailureException
Hibernate-specific subclass of ObjectOptimisticLockingFailureException.
|
class |
HibernateQueryException
Hibernate-specific subclass of InvalidDataAccessResourceUsageException,
thrown on invalid HQL query syntax.
|
class |
HibernateSystemException
Hibernate-specific subclass of UncategorizedDataAccessException,
for Hibernate system errors that do not match any concrete
org.springframework.dao exceptions. |
Modifier and Type | Method and Description |
---|---|
protected DataAccessException |
HibernateTransactionManager.convertHibernateAccessException(org.hibernate.HibernateException ex)
Convert the given HibernateException to an appropriate exception
from the
org.springframework.dao hierarchy. |
static DataAccessException |
SessionFactoryUtils.convertHibernateAccessException(org.hibernate.HibernateException ex)
Convert the given HibernateException to an appropriate exception
from the
org.springframework.dao hierarchy. |
DataAccessException |
HibernateAccessor.convertHibernateAccessException(org.hibernate.HibernateException ex)
Convert the given HibernateException to an appropriate exception
from the
org.springframework.dao hierarchy. |
protected DataAccessException |
HibernateExceptionTranslator.convertHibernateAccessException(org.hibernate.HibernateException ex)
Convert the given HibernateException to an appropriate exception from the
org.springframework.dao hierarchy. |
protected DataAccessException |
HibernateTransactionManager.convertJdbcAccessException(org.hibernate.JDBCException ex,
SQLExceptionTranslator translator)
Convert the given Hibernate JDBCException to an appropriate exception
from the
org.springframework.dao hierarchy, using the
given SQLExceptionTranslator. |
protected DataAccessException |
HibernateAccessor.convertJdbcAccessException(org.hibernate.JDBCException ex,
SQLExceptionTranslator translator)
Convert the given Hibernate JDBCException to an appropriate exception
from the
org.springframework.dao hierarchy, using the
given SQLExceptionTranslator. |
protected DataAccessException |
HibernateAccessor.convertJdbcAccessException(SQLException ex)
Convert the given SQLException to an appropriate exception from the
org.springframework.dao hierarchy. |
DataAccessException |
HibernateExceptionTranslator.translateExceptionIfPossible(RuntimeException ex) |
Modifier and Type | Method and Description |
---|---|
int |
HibernateOperations.bulkUpdate(String queryString)
Update/delete all objects according to the given query.
|
int |
HibernateTemplate.bulkUpdate(String queryString) |
int |
HibernateOperations.bulkUpdate(String queryString,
Object... values)
Update/delete all objects according to the given query, binding a number of
values to "?" parameters in the query string.
|
int |
HibernateTemplate.bulkUpdate(String queryString,
Object... values) |
int |
HibernateOperations.bulkUpdate(String queryString,
Object value)
Update/delete all objects according to the given query, binding one value
to a "?" parameter in the query string.
|
int |
HibernateTemplate.bulkUpdate(String queryString,
Object value) |
void |
HibernateOperations.clear()
Remove all objects from the
Session cache, and
cancel all pending saves, updates and deletes. |
void |
HibernateTemplate.clear() |
void |
HibernateOperations.closeIterator(Iterator it)
Immediately close an
Iterator created by any of the various
iterate(..) operations, instead of waiting until the
session is closed or disconnected. |
void |
HibernateTemplate.closeIterator(Iterator it) |
boolean |
HibernateOperations.contains(Object entity)
Check whether the given object is in the Session cache.
|
boolean |
HibernateTemplate.contains(Object entity) |
void |
LocalSessionFactoryBean.createDatabaseSchema()
Execute schema creation script, determined by the Configuration object
used for creating the SessionFactory.
|
void |
HibernateOperations.delete(Object entity)
Delete the given persistent instance.
|
void |
HibernateTemplate.delete(Object entity) |
void |
HibernateOperations.delete(Object entity,
org.hibernate.LockMode lockMode)
Delete the given persistent instance.
|
void |
HibernateTemplate.delete(Object entity,
org.hibernate.LockMode lockMode) |
void |
HibernateOperations.delete(String entityName,
Object entity)
Delete the given persistent instance.
|
void |
HibernateTemplate.delete(String entityName,
Object entity) |
void |
HibernateOperations.delete(String entityName,
Object entity,
org.hibernate.LockMode lockMode)
Delete the given persistent instance.
|
void |
HibernateTemplate.delete(String entityName,
Object entity,
org.hibernate.LockMode lockMode) |
void |
HibernateOperations.deleteAll(Collection entities)
Delete all given persistent instances.
|
void |
HibernateTemplate.deleteAll(Collection entities) |
protected <T> T |
HibernateTemplate.doExecute(HibernateCallback<T> action,
boolean enforceNewSession,
boolean enforceNativeSession)
Execute the action specified by the given action object within a Session.
|
void |
LocalSessionFactoryBean.dropDatabaseSchema()
Execute schema drop script, determined by the Configuration object
used for creating the SessionFactory.
|
void |
HibernateOperations.evict(Object entity)
Remove the given object from the
Session cache. |
void |
HibernateTemplate.evict(Object entity) |
<T> T |
HibernateOperations.execute(HibernateCallback<T> action)
Execute the action specified by the given action object within a
Session . |
<T> T |
HibernateTemplate.execute(HibernateCallback<T> action) |
List |
HibernateOperations.executeFind(HibernateCallback<?> action)
Deprecated.
as of Spring 3.2.7, in favor of using a regular
HibernateOperations.execute(org.springframework.orm.hibernate3.HibernateCallback<T>)
call with a generic List type declared |
List |
HibernateTemplate.executeFind(HibernateCallback<?> action)
Deprecated.
|
List |
HibernateOperations.find(String queryString)
Execute an HQL query.
|
List |
HibernateTemplate.find(String queryString) |
List |
HibernateOperations.find(String queryString,
Object... values)
Execute an HQL query, binding a number of values to "?" parameters
in the query string.
|
List |
HibernateTemplate.find(String queryString,
Object... values) |
List |
HibernateOperations.find(String queryString,
Object value)
Execute an HQL query, binding one value to a "?" parameter in the
query string.
|
List |
HibernateTemplate.find(String queryString,
Object value) |
List |
HibernateOperations.findByCriteria(org.hibernate.criterion.DetachedCriteria criteria)
Execute a query based on a given Hibernate criteria object.
|
List |
HibernateTemplate.findByCriteria(org.hibernate.criterion.DetachedCriteria criteria) |
List |
HibernateOperations.findByCriteria(org.hibernate.criterion.DetachedCriteria criteria,
int firstResult,
int maxResults)
Execute a query based on the given Hibernate criteria object.
|
List |
HibernateTemplate.findByCriteria(org.hibernate.criterion.DetachedCriteria criteria,
int firstResult,
int maxResults) |
List |
HibernateOperations.findByExample(Object exampleEntity)
Execute a query based on the given example entity object.
|
List |
HibernateTemplate.findByExample(Object exampleEntity) |
List |
HibernateOperations.findByExample(Object exampleEntity,
int firstResult,
int maxResults)
Execute a query based on a given example entity object.
|
List |
HibernateTemplate.findByExample(Object exampleEntity,
int firstResult,
int maxResults) |
List |
HibernateOperations.findByExample(String entityName,
Object exampleEntity)
Execute a query based on the given example entity object.
|
List |
HibernateTemplate.findByExample(String entityName,
Object exampleEntity) |
List |
HibernateOperations.findByExample(String entityName,
Object exampleEntity,
int firstResult,
int maxResults)
Execute a query based on a given example entity object.
|
List |
HibernateTemplate.findByExample(String entityName,
Object exampleEntity,
int firstResult,
int maxResults) |
List |
HibernateOperations.findByNamedParam(String queryString,
String[] paramNames,
Object[] values)
Execute an HQL query, binding a number of values to ":" named
parameters in the query string.
|
List |
HibernateTemplate.findByNamedParam(String queryString,
String[] paramNames,
Object[] values) |
List |
HibernateOperations.findByNamedParam(String queryString,
String paramName,
Object value)
Execute an HQL query, binding one value to a ":" named parameter
in the query string.
|
List |
HibernateTemplate.findByNamedParam(String queryString,
String paramName,
Object value) |
List |
HibernateOperations.findByNamedQuery(String queryName)
Execute a named query.
|
List |
HibernateTemplate.findByNamedQuery(String queryName) |
List |
HibernateOperations.findByNamedQuery(String queryName,
Object... values)
Execute a named query binding a number of values to "?" parameters
in the query string.
|
List |
HibernateTemplate.findByNamedQuery(String queryName,
Object... values) |
List |
HibernateOperations.findByNamedQuery(String queryName,
Object value)
Execute a named query, binding one value to a "?" parameter in
the query string.
|
List |
HibernateTemplate.findByNamedQuery(String queryName,
Object value) |
List |
HibernateOperations.findByNamedQueryAndNamedParam(String queryName,
String[] paramNames,
Object[] values)
Execute a named query, binding a number of values to ":" named
parameters in the query string.
|
List |
HibernateTemplate.findByNamedQueryAndNamedParam(String queryName,
String[] paramNames,
Object[] values) |
List |
HibernateOperations.findByNamedQueryAndNamedParam(String queryName,
String paramName,
Object value)
Execute a named query, binding one value to a ":" named parameter
in the query string.
|
List |
HibernateTemplate.findByNamedQueryAndNamedParam(String queryName,
String paramName,
Object value) |
List |
HibernateOperations.findByNamedQueryAndValueBean(String queryName,
Object valueBean)
Execute a named query, binding the properties of the given bean to
":" named parameters in the query string.
|
List |
HibernateTemplate.findByNamedQueryAndValueBean(String queryName,
Object valueBean) |
List |
HibernateOperations.findByValueBean(String queryString,
Object valueBean)
Execute an HQL query, binding the properties of the given bean to
named parameters in the query string.
|
List |
HibernateTemplate.findByValueBean(String queryString,
Object valueBean) |
void |
HibernateOperations.flush()
Flush all pending saves, updates and deletes to the database.
|
void |
HibernateTemplate.flush() |
<T> T |
HibernateOperations.get(Class<T> entityClass,
Serializable id)
Return the persistent instance of the given entity class
with the given identifier, or
null if not found. |
<T> T |
HibernateTemplate.get(Class<T> entityClass,
Serializable id) |
<T> T |
HibernateOperations.get(Class<T> entityClass,
Serializable id,
org.hibernate.LockMode lockMode)
Return the persistent instance of the given entity class
with the given identifier, or
null if not found. |
<T> T |
HibernateTemplate.get(Class<T> entityClass,
Serializable id,
org.hibernate.LockMode lockMode) |
Object |
HibernateOperations.get(String entityName,
Serializable id)
Return the persistent instance of the given entity class
with the given identifier, or
null if not found. |
Object |
HibernateTemplate.get(String entityName,
Serializable id) |
Object |
HibernateOperations.get(String entityName,
Serializable id,
org.hibernate.LockMode lockMode)
Return the persistent instance of the given entity class
with the given identifier, or
null if not found. |
Object |
HibernateTemplate.get(String entityName,
Serializable id,
org.hibernate.LockMode lockMode) |
void |
HibernateOperations.initialize(Object proxy)
Force initialization of a Hibernate proxy or persistent collection.
|
void |
HibernateTemplate.initialize(Object proxy) |
Iterator |
HibernateOperations.iterate(String queryString)
Execute a query for persistent instances.
|
Iterator |
HibernateTemplate.iterate(String queryString) |
Iterator |
HibernateOperations.iterate(String queryString,
Object... values)
Execute a query for persistent instances, binding a number of
values to "?" parameters in the query string.
|
Iterator |
HibernateTemplate.iterate(String queryString,
Object... values) |
Iterator |
HibernateOperations.iterate(String queryString,
Object value)
Execute a query for persistent instances, binding one value
to a "?" parameter in the query string.
|
Iterator |
HibernateTemplate.iterate(String queryString,
Object value) |
<T> T |
HibernateOperations.load(Class<T> entityClass,
Serializable id)
Return the persistent instance of the given entity class
with the given identifier, throwing an exception if not found.
|
<T> T |
HibernateTemplate.load(Class<T> entityClass,
Serializable id) |
<T> T |
HibernateOperations.load(Class<T> entityClass,
Serializable id,
org.hibernate.LockMode lockMode)
Return the persistent instance of the given entity class
with the given identifier, throwing an exception if not found.
|
<T> T |
HibernateTemplate.load(Class<T> entityClass,
Serializable id,
org.hibernate.LockMode lockMode) |
void |
HibernateOperations.load(Object entity,
Serializable id)
Load the persistent instance with the given identifier
into the given object, throwing an exception if not found.
|
void |
HibernateTemplate.load(Object entity,
Serializable id) |
Object |
HibernateOperations.load(String entityName,
Serializable id)
Return the persistent instance of the given entity class
with the given identifier, throwing an exception if not found.
|
Object |
HibernateTemplate.load(String entityName,
Serializable id) |
Object |
HibernateOperations.load(String entityName,
Serializable id,
org.hibernate.LockMode lockMode)
Return the persistent instance of the given entity class
with the given identifier, throwing an exception if not found.
|
Object |
HibernateTemplate.load(String entityName,
Serializable id,
org.hibernate.LockMode lockMode) |
<T> List<T> |
HibernateOperations.loadAll(Class<T> entityClass)
Return all persistent instances of the given entity class.
|
<T> List<T> |
HibernateTemplate.loadAll(Class<T> entityClass) |
void |
HibernateOperations.lock(Object entity,
org.hibernate.LockMode lockMode)
Obtain the specified lock level upon the given object, implicitly
checking whether the corresponding database entry still exists.
|
void |
HibernateTemplate.lock(Object entity,
org.hibernate.LockMode lockMode) |
void |
HibernateOperations.lock(String entityName,
Object entity,
org.hibernate.LockMode lockMode)
Obtain the specified lock level upon the given object, implicitly
checking whether the corresponding database entry still exists.
|
void |
HibernateTemplate.lock(String entityName,
Object entity,
org.hibernate.LockMode lockMode) |
<T> T |
HibernateOperations.merge(String entityName,
T entity)
Copy the state of the given object onto the persistent object
with the same identifier.
|
<T> T |
HibernateTemplate.merge(String entityName,
T entity) |
<T> T |
HibernateOperations.merge(T entity)
Copy the state of the given object onto the persistent object
with the same identifier.
|
<T> T |
HibernateTemplate.merge(T entity) |
void |
HibernateOperations.persist(Object entity)
Persist the given transient instance.
|
void |
HibernateTemplate.persist(Object entity) |
void |
HibernateOperations.persist(String entityName,
Object entity)
Persist the given transient instance.
|
void |
HibernateTemplate.persist(String entityName,
Object entity) |
void |
HibernateOperations.refresh(Object entity)
Re-read the state of the given persistent instance.
|
void |
HibernateTemplate.refresh(Object entity) |
void |
HibernateOperations.refresh(Object entity,
org.hibernate.LockMode lockMode)
Re-read the state of the given persistent instance.
|
void |
HibernateTemplate.refresh(Object entity,
org.hibernate.LockMode lockMode) |
void |
HibernateOperations.replicate(Object entity,
org.hibernate.ReplicationMode replicationMode)
Persist the state of the given detached instance according to the
given replication mode, reusing the current identifier value.
|
void |
HibernateTemplate.replicate(Object entity,
org.hibernate.ReplicationMode replicationMode) |
void |
HibernateOperations.replicate(String entityName,
Object entity,
org.hibernate.ReplicationMode replicationMode)
Persist the state of the given detached instance according to the
given replication mode, reusing the current identifier value.
|
void |
HibernateTemplate.replicate(String entityName,
Object entity,
org.hibernate.ReplicationMode replicationMode) |
Serializable |
HibernateOperations.save(Object entity)
Persist the given transient instance.
|
Serializable |
HibernateTemplate.save(Object entity) |
Serializable |
HibernateOperations.save(String entityName,
Object entity)
Persist the given transient instance.
|
Serializable |
HibernateTemplate.save(String entityName,
Object entity) |
void |
HibernateOperations.saveOrUpdate(Object entity)
Save or update the given persistent instance,
according to its id (matching the configured "unsaved-value"?).
|
void |
HibernateTemplate.saveOrUpdate(Object entity) |
void |
HibernateOperations.saveOrUpdate(String entityName,
Object entity)
Save or update the given persistent instance,
according to its id (matching the configured "unsaved-value"?).
|
void |
HibernateTemplate.saveOrUpdate(String entityName,
Object entity) |
void |
HibernateOperations.saveOrUpdateAll(Collection entities)
Deprecated.
as of Spring 2.5, in favor of individual
saveOrUpdate or merge usage |
void |
HibernateTemplate.saveOrUpdateAll(Collection entities) |
void |
HibernateOperations.update(Object entity)
Update the given persistent instance,
associating it with the current Hibernate
Session . |
void |
HibernateTemplate.update(Object entity) |
void |
HibernateOperations.update(Object entity,
org.hibernate.LockMode lockMode)
Update the given persistent instance,
associating it with the current Hibernate
Session . |
void |
HibernateTemplate.update(Object entity,
org.hibernate.LockMode lockMode) |
void |
HibernateOperations.update(String entityName,
Object entity)
Update the given persistent instance,
associating it with the current Hibernate
Session . |
void |
HibernateTemplate.update(String entityName,
Object entity) |
void |
HibernateOperations.update(String entityName,
Object entity,
org.hibernate.LockMode lockMode)
Update the given persistent instance,
associating it with the current Hibernate
Session . |
void |
HibernateTemplate.update(String entityName,
Object entity,
org.hibernate.LockMode lockMode) |
void |
LocalSessionFactoryBean.updateDatabaseSchema()
Execute schema update script, determined by the Configuration object
used for creating the SessionFactory.
|
void |
LocalSessionFactoryBean.validateDatabaseSchema()
Execute schema creation script, determined by the Configuration object
used for creating the SessionFactory.
|
Modifier and Type | Method and Description |
---|---|
protected DataAccessException |
HibernateDaoSupport.convertHibernateAccessException(org.hibernate.HibernateException ex)
Deprecated.
as of Spring 3.2.7, in favor of
HibernateTemplate usage |
Modifier and Type | Method and Description |
---|---|
void |
OpenSessionInViewInterceptor.afterCompletion(WebRequest request,
Exception ex)
Unbind the Hibernate
Session from the thread and close it (in
single session mode), or process deferred close for all sessions that have
been opened during the current request (in deferred close mode). |
void |
OpenSessionInViewInterceptor.postHandle(WebRequest request,
ModelMap model)
Flush the Hibernate
Session before view rendering, if necessary. |
void |
OpenSessionInViewInterceptor.preHandle(WebRequest request)
Open a new Hibernate
Session according to the settings of this
HibernateAccessor and bind it to the thread via the
TransactionSynchronizationManager . |
Modifier and Type | Class and Description |
---|---|
class |
JdoObjectRetrievalFailureException
JDO-specific subclass of ObjectRetrievalFailureException.
|
class |
JdoOptimisticLockingFailureException
JDO-specific subclass of ObjectOptimisticLockingFailureException.
|
class |
JdoResourceFailureException
JDO-specific subclass of DataAccessResourceFailureException.
|
class |
JdoSystemException
JDO-specific subclass of UncategorizedDataAccessException,
for JDO system errors that do not match any concrete
org.springframework.dao exceptions. |
class |
JdoUsageException
JDO-specific subclass of InvalidDataAccessApiUsageException.
|
Modifier and Type | Method and Description |
---|---|
static DataAccessException |
PersistenceManagerFactoryUtils.convertJdoAccessException(javax.jdo.JDOException ex)
Convert the given JDOException to an appropriate exception from the
org.springframework.dao hierarchy. |
protected DataAccessException |
JdoTransactionManager.convertJdoAccessException(javax.jdo.JDOException ex)
Convert the given JDOException to an appropriate exception from the
org.springframework.dao hierarchy. |
DataAccessException |
JdoAccessor.convertJdoAccessException(javax.jdo.JDOException ex)
Deprecated.
Convert the given JDOException to an appropriate exception from the
org.springframework.dao hierarchy. |
DataAccessException |
JdoDialect.translateException(javax.jdo.JDOException ex)
Translate the given JDOException to a corresponding exception from Spring's
generic DataAccessException hierarchy.
|
DataAccessException |
DefaultJdoDialect.translateException(javax.jdo.JDOException ex)
This implementation delegates to PersistenceManagerFactoryUtils.
|
DataAccessException |
DefaultJdoDialect.translateExceptionIfPossible(RuntimeException ex)
Implementation of the PersistenceExceptionTranslator interface,
as autodetected by Spring's PersistenceExceptionTranslationPostProcessor.
|
DataAccessException |
LocalPersistenceManagerFactoryBean.translateExceptionIfPossible(RuntimeException ex)
Implementation of the PersistenceExceptionTranslator interface,
as autodetected by Spring's PersistenceExceptionTranslationPostProcessor.
|
Modifier and Type | Method and Description |
---|---|
void |
JdoTemplate.deletePersistent(Object entity)
Deprecated.
|
void |
JdoOperations.deletePersistent(Object entity)
Deprecated.
Delete the given persistent instance.
|
void |
JdoTemplate.deletePersistentAll(Collection entities)
Deprecated.
|
void |
JdoOperations.deletePersistentAll(Collection entities)
Deprecated.
Delete all given persistent instances.
|
void |
JdoTemplate.evict(Object entity)
Deprecated.
|
void |
JdoOperations.evict(Object entity)
Deprecated.
Remove the given object from the PersistenceManager cache.
|
void |
JdoTemplate.evictAll()
Deprecated.
|
void |
JdoOperations.evictAll()
Deprecated.
Remove all objects from the PersistenceManager cache.
|
void |
JdoTemplate.evictAll(Collection entities)
Deprecated.
|
void |
JdoOperations.evictAll(Collection entities)
Deprecated.
Remove all given objects from the PersistenceManager cache.
|
<T> T |
JdoTemplate.execute(JdoCallback<T> action)
Deprecated.
|
<T> T |
JdoOperations.execute(JdoCallback<T> action)
Deprecated.
Execute the action specified by the given action object within a
PersistenceManager.
|
<T> T |
JdoTemplate.execute(JdoCallback<T> action,
boolean exposeNativePersistenceManager)
Deprecated.
Execute the action specified by the given action object within a
PersistenceManager.
|
Collection |
JdoTemplate.executeFind(JdoCallback<?> action)
Deprecated.
|
Collection |
JdoOperations.executeFind(JdoCallback<?> action)
Deprecated.
Execute the specified action assuming that the result object is a
Collection.
|
<T> Collection<T> |
JdoTemplate.find(Class<T> entityClass)
Deprecated.
|
<T> Collection<T> |
JdoOperations.find(Class<T> entityClass)
Deprecated.
Find all persistent instances of the given class.
|
<T> Collection<T> |
JdoTemplate.find(Class<T> entityClass,
String filter)
Deprecated.
|
<T> Collection<T> |
JdoOperations.find(Class<T> entityClass,
String filter)
Deprecated.
Find all persistent instances of the given class that match the given
JDOQL filter.
|
<T> Collection<T> |
JdoTemplate.find(Class<T> entityClass,
String filter,
String ordering)
Deprecated.
|
<T> Collection<T> |
JdoOperations.find(Class<T> entityClass,
String filter,
String ordering)
Deprecated.
Find all persistent instances of the given class that match the given
JDOQL filter, with the given result ordering.
|
<T> Collection<T> |
JdoTemplate.find(Class<T> entityClass,
String filter,
String parameters,
Map<String,?> values)
Deprecated.
|
<T> Collection<T> |
JdoOperations.find(Class<T> entityClass,
String filter,
String parameters,
Map<String,?> values)
Deprecated.
Find all persistent instances of the given class that match the given
JDOQL filter, using the given parameter declarations and parameter values.
|
<T> Collection<T> |
JdoTemplate.find(Class<T> entityClass,
String filter,
String parameters,
Map<String,?> values,
String ordering)
Deprecated.
|
<T> Collection<T> |
JdoOperations.find(Class<T> entityClass,
String filter,
String parameters,
Map<String,?> values,
String ordering)
Deprecated.
Find all persistent instances of the given class that match the given
JDOQL filter, using the given parameter declarations and parameter values,
with the given result ordering.
|
<T> Collection<T> |
JdoTemplate.find(Class<T> entityClass,
String filter,
String parameters,
Object... values)
Deprecated.
|
<T> Collection<T> |
JdoOperations.find(Class<T> entityClass,
String filter,
String parameters,
Object... values)
Deprecated.
Find all persistent instances of the given class that match the given
JDOQL filter, using the given parameter declarations and parameter values.
|
<T> Collection<T> |
JdoTemplate.find(Class<T> entityClass,
String filter,
String parameters,
Object[] values,
String ordering)
Deprecated.
|
<T> Collection<T> |
JdoOperations.find(Class<T> entityClass,
String filter,
String parameters,
Object[] values,
String ordering)
Deprecated.
Find all persistent instances of the given class that match the given
JDOQL filter, using the given parameter declarations and parameter values,
with the given result ordering.
|
Collection |
JdoTemplate.find(String queryString)
Deprecated.
|
Collection |
JdoOperations.find(String queryString)
Deprecated.
Find persistent instances through the given single-string JDOQL query.
|
Collection |
JdoTemplate.find(String queryString,
Map<String,?> values)
Deprecated.
|
Collection |
JdoOperations.find(String queryString,
Map<String,?> values)
Deprecated.
Find persistent instances through the given single-string JDOQL query.
|
Collection |
JdoTemplate.find(String queryString,
Object... values)
Deprecated.
|
Collection |
JdoOperations.find(String queryString,
Object... values)
Deprecated.
Find persistent instances through the given single-string JDOQL query.
|
Collection |
JdoTemplate.find(String language,
Object queryObject)
Deprecated.
|
Collection |
JdoOperations.find(String language,
Object queryObject)
Deprecated.
Find persistent instances through the given query object
in the specified query language.
|
<T> Collection<T> |
JdoTemplate.findByNamedQuery(Class<T> entityClass,
String queryName)
Deprecated.
|
<T> Collection<T> |
JdoOperations.findByNamedQuery(Class<T> entityClass,
String queryName)
Deprecated.
Find persistent instances through the given named query.
|
<T> Collection<T> |
JdoTemplate.findByNamedQuery(Class<T> entityClass,
String queryName,
Map<String,?> values)
Deprecated.
|
<T> Collection<T> |
JdoOperations.findByNamedQuery(Class<T> entityClass,
String queryName,
Map<String,?> values)
Deprecated.
Find persistent instances through the given named query.
|
<T> Collection<T> |
JdoTemplate.findByNamedQuery(Class<T> entityClass,
String queryName,
Object... values)
Deprecated.
|
<T> Collection<T> |
JdoOperations.findByNamedQuery(Class<T> entityClass,
String queryName,
Object... values)
Deprecated.
Find persistent instances through the given named query.
|
void |
JdoTemplate.flush()
Deprecated.
|
void |
JdoOperations.flush()
Deprecated.
Flush all transactional modifications to the database.
|
<T> T |
JdoTemplate.getObjectById(Class<T> entityClass,
Object idValue)
Deprecated.
|
<T> T |
JdoOperations.getObjectById(Class<T> entityClass,
Object idValue)
Deprecated.
Return the persistent instance of the given entity class
with the given id value, throwing an exception if not found.
|
Object |
JdoTemplate.getObjectById(Object objectId)
Deprecated.
|
Object |
JdoOperations.getObjectById(Object objectId)
Deprecated.
Return the persistent instance with the given JDO object id,
throwing an exception if not found.
|
<T> T |
JdoTemplate.makePersistent(T entity)
Deprecated.
|
<T> T |
JdoOperations.makePersistent(T entity)
Deprecated.
Make the given transient instance persistent.
|
<T> Collection<T> |
JdoTemplate.makePersistentAll(Collection<T> entities)
Deprecated.
|
<T> Collection<T> |
JdoOperations.makePersistentAll(Collection<T> entities)
Deprecated.
Make the given transient instances persistent.
|
void |
JdoTemplate.refresh(Object entity)
Deprecated.
|
void |
JdoOperations.refresh(Object entity)
Deprecated.
Re-read the state of the given persistent instance.
|
void |
JdoTemplate.refreshAll()
Deprecated.
|
void |
JdoOperations.refreshAll()
Deprecated.
Re-read the state of all persistent instances.
|
void |
JdoTemplate.refreshAll(Collection entities)
Deprecated.
|
void |
JdoOperations.refreshAll(Collection entities)
Deprecated.
Re-read the state of all given persistent instances.
|
Modifier and Type | Method and Description |
---|---|
protected DataAccessException |
JdoDaoSupport.convertJdoAccessException(javax.jdo.JDOException ex)
Deprecated.
Convert the given JDOException to an appropriate exception from the
org.springframework.dao hierarchy.
|
Modifier and Type | Method and Description |
---|---|
void |
OpenPersistenceManagerInViewInterceptor.afterCompletion(WebRequest request,
Exception ex) |
void |
OpenPersistenceManagerInViewInterceptor.preHandle(WebRequest request) |
Modifier and Type | Class and Description |
---|---|
class |
JpaObjectRetrievalFailureException
JPA-specific subclass of ObjectRetrievalFailureException.
|
class |
JpaOptimisticLockingFailureException
JPA-specific subclass of ObjectOptimisticLockingFailureException.
|
class |
JpaSystemException
JPA-specific subclass of UncategorizedDataAccessException,
for JPA system errors that do not match any concrete
org.springframework.dao exceptions. |
Modifier and Type | Method and Description |
---|---|
static DataAccessException |
EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(RuntimeException ex)
Convert the given runtime exception to an appropriate exception from the
org.springframework.dao hierarchy. |
DataAccessException |
AbstractEntityManagerFactoryBean.translateExceptionIfPossible(RuntimeException ex)
Implementation of the PersistenceExceptionTranslator interface, as
autodetected by Spring's PersistenceExceptionTranslationPostProcessor.
|
DataAccessException |
DefaultJpaDialect.translateExceptionIfPossible(RuntimeException ex)
This implementation delegates to EntityManagerFactoryUtils.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JpaOperations.contains(Object entity)
Deprecated.
|
boolean |
JpaTemplate.contains(Object entity)
Deprecated.
|
<T> T |
JpaOperations.execute(JpaCallback<T> action)
Deprecated.
|
<T> T |
JpaTemplate.execute(JpaCallback<T> action)
Deprecated.
|
<T> T |
JpaTemplate.execute(JpaCallback<T> action,
boolean exposeNativeEntityManager)
Deprecated.
Execute the action specified by the given action object within a
EntityManager.
|
List |
JpaOperations.executeFind(JpaCallback<?> action)
Deprecated.
|
List |
JpaTemplate.executeFind(JpaCallback<?> action)
Deprecated.
|
<T> T |
JpaOperations.find(Class<T> entityClass,
Object id)
Deprecated.
|
<T> T |
JpaTemplate.find(Class<T> entityClass,
Object id)
Deprecated.
|
List |
JpaOperations.find(String queryString)
Deprecated.
|
List |
JpaTemplate.find(String queryString)
Deprecated.
|
List |
JpaOperations.find(String queryString,
Object... values)
Deprecated.
|
List |
JpaTemplate.find(String queryString,
Object... values)
Deprecated.
|
List |
JpaOperations.findByNamedParams(String queryString,
Map<String,?> params)
Deprecated.
|
List |
JpaTemplate.findByNamedParams(String queryString,
Map<String,?> params)
Deprecated.
|
List |
JpaOperations.findByNamedQuery(String queryName)
Deprecated.
|
List |
JpaTemplate.findByNamedQuery(String queryName)
Deprecated.
|
List |
JpaOperations.findByNamedQuery(String queryName,
Object... values)
Deprecated.
|
List |
JpaTemplate.findByNamedQuery(String queryName,
Object... values)
Deprecated.
|
List |
JpaOperations.findByNamedQueryAndNamedParams(String queryName,
Map<String,?> params)
Deprecated.
|
List |
JpaTemplate.findByNamedQueryAndNamedParams(String queryName,
Map<String,?> params)
Deprecated.
|
void |
JpaOperations.flush()
Deprecated.
|
void |
JpaTemplate.flush()
Deprecated.
|
<T> T |
JpaOperations.getReference(Class<T> entityClass,
Object id)
Deprecated.
|
<T> T |
JpaTemplate.getReference(Class<T> entityClass,
Object id)
Deprecated.
|
<T> T |
JpaOperations.merge(T entity)
Deprecated.
|
<T> T |
JpaTemplate.merge(T entity)
Deprecated.
|
void |
JpaOperations.persist(Object entity)
Deprecated.
|
void |
JpaTemplate.persist(Object entity)
Deprecated.
|
void |
JpaOperations.refresh(Object entity)
Deprecated.
|
void |
JpaTemplate.refresh(Object entity)
Deprecated.
|
void |
JpaOperations.remove(Object entity)
Deprecated.
|
void |
JpaTemplate.remove(Object entity)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
OpenEntityManagerInViewInterceptor.afterCompletion(WebRequest request,
Exception ex) |
void |
OpenEntityManagerInViewInterceptor.preHandle(WebRequest request) |
Modifier and Type | Method and Description |
---|---|
DataAccessException |
HibernateJpaDialect.translateExceptionIfPossible(RuntimeException ex) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractTransactionalDataSourceSpringContextTests.executeSqlScript(String sqlResourcePath,
boolean continueOnError)
Deprecated.
Execute the given SQL script.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractTransactionalJUnit38SpringContextTests.executeSqlScript(String sqlResourcePath,
boolean continueOnError)
Deprecated.
Execute the given SQL script.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractTransactionalJUnit4SpringContextTests.executeSqlScript(String sqlResourcePath,
boolean continueOnError)
Execute the given SQL script.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractTransactionalTestNGSpringContextTests.executeSqlScript(String sqlResourcePath,
boolean continueOnError)
Execute the given SQL script.
|
Modifier and Type | Method and Description |
---|---|
static void |
JdbcTestUtils.executeSqlScript(JdbcTemplate jdbcTemplate,
EncodedResource resource,
boolean continueOnError)
Execute the given SQL script.
|
static void |
JdbcTestUtils.executeSqlScript(JdbcTemplate jdbcTemplate,
Resource resource,
boolean continueOnError)
Execute the given SQL script.
|
static void |
JdbcTestUtils.executeSqlScript(JdbcTemplate jdbcTemplate,
ResourceLoader resourceLoader,
String sqlResourcePath,
boolean continueOnError)
Execute the given SQL script.
|
static void |
SimpleJdbcTestUtils.executeSqlScript(SimpleJdbcTemplate simpleJdbcTemplate,
EncodedResource resource,
boolean continueOnError)
Deprecated.
Execute the given SQL script.
|
static void |
SimpleJdbcTestUtils.executeSqlScript(SimpleJdbcTemplate simpleJdbcTemplate,
Resource resource,
boolean continueOnError)
Deprecated.
Execute the given SQL script.
|
static void |
SimpleJdbcTestUtils.executeSqlScript(SimpleJdbcTemplate simpleJdbcTemplate,
ResourceLoader resourceLoader,
String sqlResourcePath,
boolean continueOnError)
Deprecated.
Execute the given SQL script.
|
Copyright © 2015. All rights reserved.