|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DataAccessException | |
---|---|
org.springframework.dao | Exception hierarchy enabling sophisticated error handling independent of the data access approach in use. |
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.support | Classes supporting the org.springframework.jdbc.core package. |
org.springframework.jdbc.object | The classes in this package represent RDBMS queries, updates, and stored procedures as threadsafe, reusable objects. |
org.springframework.jdbc.support | 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.orm | Root package for Spring's O/R Mapping integration classes. |
org.springframework.orm.hibernate | Package providing integration of Hibernate 2.1 with Spring concepts. |
org.springframework.orm.hibernate.support | Classes supporting the org.springframework.orm.hibernate package. |
org.springframework.orm.hibernate3 | Package providing integration of Hibernate3 with Spring concepts. |
org.springframework.orm.hibernate3.support | Classes supporting the org.springframework.orm.hibernate3 package. |
org.springframework.orm.ibatis | Package providing integration of iBATIS Database Layer with Spring concepts. |
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.ojb | Package providing integration of Apache OJB with Spring concepts. |
org.springframework.orm.ojb.support | Classes supporting the org.springframework.orm.ojb package. |
org.springframework.orm.toplink | Package providing integration of Oracle TopLink with Spring concepts. |
org.springframework.orm.toplink.support | Classes supporting the org.springframework.orm.toplink package. |
Uses of DataAccessException in org.springframework.dao |
---|
Subclasses of DataAccessException in org.springframework.dao | |
---|---|
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 |
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 |
OptimisticLockingFailureException
Exception thrown on an optimistic locking violation. |
class |
PessimisticLockingFailureException
Exception thrown on a pessimistic locking violation. |
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. |
Uses of DataAccessException in org.springframework.jca.cci |
---|
Subclasses of DataAccessException in org.springframework.jca.cci | |
---|---|
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. |
Uses of DataAccessException in org.springframework.jca.cci.core |
---|
Methods in org.springframework.jca.cci.core that throw DataAccessException | |
---|---|
IndexedRecord |
CciTemplate.createIndexedRecord(String name)
Create an indexed Record through the ConnectionFactory's RecordFactory. |
MappedRecord |
CciTemplate.createMappedRecord(String name)
Create a mapped Record from the ConnectionFactory's RecordFactory. |
protected Record |
CciTemplate.createRecord(RecordCreator recordCreator)
Invoke the given RecordCreator, converting JCA ResourceExceptions to Spring's DataAccessException hierarchy. |
Record |
RecordCreator.createRecord(RecordFactory recordFactory)
Create a CCI Record instance, usually based on the passed-in CCI RecordFactory. |
protected Object |
CciTemplate.doExecute(InteractionSpec spec,
Record inputRecord,
Record outputRecord,
RecordExtractor outputExtractor)
Execute the specified interaction on an EIS with CCI. |
Object |
ConnectionCallback.doInConnection(Connection connection,
ConnectionFactory connectionFactory)
Gets called by CciTemplate.execute with an active CCI Connection. |
Object |
InteractionCallback.doInInteraction(Interaction interaction,
ConnectionFactory connectionFactory)
Gets called by CciTemplate.execute with an active CCI Interaction. |
Object |
CciTemplate.execute(ConnectionCallback action)
|
Object |
CciOperations.execute(ConnectionCallback action)
Execute a request on an EIS with CCI, implemented as callback action working on a CCI Connection. |
Object |
CciTemplate.execute(InteractionCallback action)
|
Object |
CciOperations.execute(InteractionCallback action)
Execute a request on an EIS with CCI, implemented as callback action working on a CCI Interaction. |
Record |
CciTemplate.execute(InteractionSpec spec,
Record inputRecord)
|
Record |
CciOperations.execute(InteractionSpec spec,
Record inputRecord)
Execute the specified interaction on an EIS with CCI. |
Record |
CciTemplate.execute(InteractionSpec spec,
RecordCreator inputCreator)
|
Record |
CciOperations.execute(InteractionSpec spec,
RecordCreator inputCreator)
Execute the specified interaction on an EIS with CCI. |
Object |
CciTemplate.execute(InteractionSpec spec,
RecordCreator inputCreator,
RecordExtractor outputExtractor)
|
Object |
CciOperations.execute(InteractionSpec spec,
RecordCreator inputCreator,
RecordExtractor outputExtractor)
Execute the specified interaction on an EIS with CCI. |
void |
CciTemplate.execute(InteractionSpec spec,
Record inputRecord,
Record outputRecord)
|
void |
CciOperations.execute(InteractionSpec spec,
Record inputRecord,
Record outputRecord)
Execute the specified interaction on an EIS with CCI. |
Object |
CciTemplate.execute(InteractionSpec spec,
Record inputRecord,
RecordExtractor outputExtractor)
|
Object |
CciOperations.execute(InteractionSpec spec,
Record inputRecord,
RecordExtractor outputExtractor)
Execute the specified interaction on an EIS with CCI. |
Object |
RecordExtractor.extractData(Record record)
Process the data in the given Record, creating a corresponding result object. |
Uses of DataAccessException in org.springframework.jca.cci.object |
---|
Methods in org.springframework.jca.cci.object that throw DataAccessException | |
---|---|
protected abstract Object |
MappingCommAreaOperation.bytesToObject(byte[] bytes)
Method used to convert the COMMAREA's bytes to an object. |
protected abstract Record |
MappingRecordOperation.createInputRecord(RecordFactory recordFactory,
Object inputObject)
Subclasses must implement this method to generate an input Record from an input object passed into the execute method. |
Record |
MappingRecordOperation.RecordCreatorImpl.createRecord(RecordFactory recordFactory)
|
Object |
MappingRecordOperation.execute(Object inputObject)
Execute the interaction encapsulated by this operation object. |
Record |
SimpleRecordOperation.execute(Record inputRecord)
Execute the CCI interaction encapsulated by this operation object. |
void |
SimpleRecordOperation.execute(Record inputRecord,
Record outputRecord)
Execute the CCI interaction encapsulated by this operation object. |
Object |
MappingRecordOperation.RecordExtractorImpl.extractData(Record record)
|
protected abstract Object |
MappingRecordOperation.extractOutputData(Record outputRecord)
Subclasses must implement this method to convert the Record returned by CCI execution into a result object for the execute method. |
protected Object |
MappingCommAreaOperation.extractOutputData(Record record)
|
protected abstract byte[] |
MappingCommAreaOperation.objectToBytes(Object inObject)
Method used to convert an object into COMMAREA bytes. |
Uses of DataAccessException in org.springframework.jdbc |
---|
Subclasses of DataAccessException in org.springframework.jdbc | |
---|---|
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 |
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 warnings. |
class |
UncategorizedSQLException
Exception thrown when we can't classify a SQLException into one of our generic data access exceptions. |
Uses of DataAccessException in org.springframework.jdbc.core |
---|
Methods in org.springframework.jdbc.core that throw DataAccessException | |
---|---|
int[] |
JdbcOperations.batchUpdate(String[] sql)
Issue multiple SQL updates on a single Statement, using JDBC 2.0 batching. |
int[] |
JdbcTemplate.batchUpdate(String[] sql)
|
int[] |
JdbcOperations.batchUpdate(String sql,
BatchPreparedStatementSetter pss)
Issue multiple updates on a single PreparedStatement, using JDBC 2.0 batch updates and a BatchPreparedStatementSetter to set values. |
int[] |
JdbcTemplate.batchUpdate(String sql,
BatchPreparedStatementSetter pss)
|
Map |
JdbcOperations.call(CallableStatementCreator csc,
List declaredParameters)
Execute a SQL call using a CallableStatementCreator to provide SQL and any required parameters. |
Map |
JdbcTemplate.call(CallableStatementCreator csc,
List declaredParameters)
|
Object |
CallableStatementCallback.doInCallableStatement(CallableStatement cs)
Gets called by JdbcTemplate.execute with an active JDBC
CallableStatement. |
Object |
ConnectionCallback.doInConnection(Connection con)
Gets called by JdbcTemplate.execute with an active JDBC
Connection. |
Object |
PreparedStatementCallback.doInPreparedStatement(PreparedStatement ps)
Gets called by JdbcTemplate.execute with an active JDBC
PreparedStatement. |
Object |
StatementCallback.doInStatement(Statement stmt)
Gets called by JdbcTemplate.execute with an active JDBC
Statement. |
Object |
JdbcOperations.execute(CallableStatementCreator csc,
CallableStatementCallback action)
Execute a JDBC data access operation, implemented as callback action working on a JDBC CallableStatement. |
Object |
JdbcTemplate.execute(CallableStatementCreator csc,
CallableStatementCallback action)
|
Object |
JdbcOperations.execute(ConnectionCallback action)
Execute a JDBC data access operation, implemented as callback action working on a JDBC Connection. |
Object |
JdbcTemplate.execute(ConnectionCallback action)
|
Object |
JdbcOperations.execute(PreparedStatementCreator psc,
PreparedStatementCallback action)
Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement. |
Object |
JdbcTemplate.execute(PreparedStatementCreator psc,
PreparedStatementCallback action)
|
Object |
JdbcOperations.execute(StatementCallback action)
Execute a JDBC data access operation, implemented as callback action working on a JDBC Statement. |
Object |
JdbcTemplate.execute(StatementCallback action)
|
void |
JdbcOperations.execute(String sql)
Issue a single SQL execute, typically a DDL statement. |
void |
JdbcTemplate.execute(String sql)
|
Object |
JdbcOperations.execute(String callString,
CallableStatementCallback action)
Execute a JDBC data access operation, implemented as callback action working on a JDBC CallableStatement. |
Object |
JdbcTemplate.execute(String callString,
CallableStatementCallback action)
|
Object |
JdbcOperations.execute(String sql,
PreparedStatementCallback action)
Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement. |
Object |
JdbcTemplate.execute(String sql,
PreparedStatementCallback action)
|
Object |
ResultSetExtractor.extractData(ResultSet rs)
Implementations must implement this method to process all rows in the ResultSet. |
Object |
JdbcTemplate.query(PreparedStatementCreator psc,
PreparedStatementSetter pss,
ResultSetExtractor rse)
Query using a prepared statement, allowing for a PreparedStatementCreator and a PreparedStatementSetter. |
Object |
JdbcOperations.query(PreparedStatementCreator psc,
ResultSetExtractor rse)
Query using a prepared statement, reading the ResultSet with a ResultSetExtractor. |
Object |
JdbcTemplate.query(PreparedStatementCreator psc,
ResultSetExtractor rse)
|
List |
JdbcOperations.query(PreparedStatementCreator psc,
RowCallbackHandler rch)
Query using a prepared statement, reading the ResultSet on a per-row basis with a RowCallbackHandler (potentially implementing the ResultReader A PreparedStatementCreator can either be implemented directly or configured through a PreparedStatementCreatorFactory. |
List |
JdbcTemplate.query(PreparedStatementCreator psc,
RowCallbackHandler rch)
|
List |
JdbcOperations.query(PreparedStatementCreator psc,
RowMapper rowMapper)
Query using a prepared statement, mapping each row to a Java object via a RowMapper. |
List |
JdbcTemplate.query(PreparedStatementCreator psc,
RowMapper rowMapper)
|
Object |
JdbcOperations.query(String sql,
Object[] args,
int[] argTypes,
ResultSetExtractor 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. |
Object |
JdbcTemplate.query(String sql,
Object[] args,
int[] argTypes,
ResultSetExtractor rse)
|
List |
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 (potentially implementing the ResultReader sub-interface that provides a result List). |
List |
JdbcTemplate.query(String sql,
Object[] args,
int[] argTypes,
RowCallbackHandler rch)
|
List |
JdbcOperations.query(String sql,
Object[] args,
int[] argTypes,
RowMapper 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. |
List |
JdbcTemplate.query(String sql,
Object[] args,
int[] argTypes,
RowMapper rowMapper)
|
Object |
JdbcOperations.query(String sql,
Object[] args,
ResultSetExtractor 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. |
Object |
JdbcTemplate.query(String sql,
Object[] args,
ResultSetExtractor rse)
|
List |
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 (potentially implementing the ResultReader sub-interface that provides a result List). |
List |
JdbcTemplate.query(String sql,
Object[] args,
RowCallbackHandler rch)
|
List |
JdbcOperations.query(String sql,
Object[] args,
RowMapper 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. |
List |
JdbcTemplate.query(String sql,
Object[] args,
RowMapper rowMapper)
|
Object |
JdbcOperations.query(String sql,
PreparedStatementSetter pss,
ResultSetExtractor rse)
Query using a prepared statement, reading the ResultSet with a ResultSetExtractor. |
Object |
JdbcTemplate.query(String sql,
PreparedStatementSetter pss,
ResultSetExtractor rse)
|
List |
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 (potentially implementing the ResultReader sub-interface that provides a result List). |
List |
JdbcTemplate.query(String sql,
PreparedStatementSetter pss,
RowCallbackHandler rch)
|
List |
JdbcOperations.query(String sql,
PreparedStatementSetter pss,
RowMapper 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. |
List |
JdbcTemplate.query(String sql,
PreparedStatementSetter pss,
RowMapper rowMapper)
|
Object |
JdbcOperations.query(String sql,
ResultSetExtractor rse)
Execute a query given static SQL, reading the ResultSet with a ResultSetExtractor. |
Object |
JdbcTemplate.query(String sql,
ResultSetExtractor rse)
|
List |
JdbcOperations.query(String sql,
RowCallbackHandler rch)
Execute a query given static SQL, reading the ResultSet on a per-row basis with a RowCallbackHandler (potentially implementing the ResultReader sub-interface that provides a result List). |
List |
JdbcTemplate.query(String sql,
RowCallbackHandler rch)
|
List |
JdbcOperations.query(String sql,
RowMapper rowMapper)
Execute a query given static SQL, mapping each row to a Java object via a RowMapper. |
List |
JdbcTemplate.query(String sql,
RowMapper rowMapper)
|
int |
JdbcOperations.queryForInt(String sql)
Execute a query that results in an int value, given static SQL. |
int |
JdbcTemplate.queryForInt(String sql)
|
int |
JdbcOperations.queryForInt(String sql,
Object[] args)
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, resulting in an int value. |
int |
JdbcTemplate.queryForInt(String sql,
Object[] args)
|
int |
JdbcOperations.queryForInt(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, resulting in an int value. |
int |
JdbcTemplate.queryForInt(String sql,
Object[] args,
int[] argTypes)
|
List |
JdbcOperations.queryForList(String sql)
Execute a query for a result list, given static SQL. |
List |
JdbcTemplate.queryForList(String sql)
|
List |
JdbcOperations.queryForList(String sql,
Class elementType)
Execute a query for a result list, given static SQL. |
List |
JdbcTemplate.queryForList(String sql,
Class elementType)
|
List |
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 |
JdbcTemplate.queryForList(String sql,
Object[] args)
|
List |
JdbcOperations.queryForList(String sql,
Object[] args,
Class 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 |
JdbcTemplate.queryForList(String sql,
Object[] args,
Class elementType)
|
List |
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 |
JdbcTemplate.queryForList(String sql,
Object[] args,
int[] argTypes)
|
List |
JdbcOperations.queryForList(String sql,
Object[] args,
int[] argTypes,
Class 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 |
JdbcTemplate.queryForList(String sql,
Object[] args,
int[] argTypes,
Class elementType)
|
long |
JdbcOperations.queryForLong(String sql)
Execute a query that results in a long value, given static SQL. |
long |
JdbcTemplate.queryForLong(String sql)
|
long |
JdbcOperations.queryForLong(String sql,
Object[] args)
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, resulting in a long value. |
long |
JdbcTemplate.queryForLong(String sql,
Object[] args)
|
long |
JdbcOperations.queryForLong(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, resulting in a long value. |
long |
JdbcTemplate.queryForLong(String sql,
Object[] args,
int[] argTypes)
|
Map |
JdbcOperations.queryForMap(String sql)
Execute a query for a result Map, given static SQL. |
Map |
JdbcTemplate.queryForMap(String sql)
|
Map |
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 |
JdbcTemplate.queryForMap(String sql,
Object[] args)
|
Map |
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 |
JdbcTemplate.queryForMap(String sql,
Object[] args,
int[] argTypes)
|
Object |
JdbcOperations.queryForObject(String sql,
Class requiredType)
Execute a query for a result object, given static SQL. |
Object |
JdbcTemplate.queryForObject(String sql,
Class requiredType)
|
Object |
JdbcOperations.queryForObject(String sql,
Object[] args,
Class 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. |
Object |
JdbcTemplate.queryForObject(String sql,
Object[] args,
Class requiredType)
|
Object |
JdbcOperations.queryForObject(String sql,
Object[] args,
int[] argTypes,
Class 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. |
Object |
JdbcTemplate.queryForObject(String sql,
Object[] args,
int[] argTypes,
Class requiredType)
|
Object |
JdbcOperations.queryForObject(String sql,
Object[] args,
int[] argTypes,
RowMapper 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. |
Object |
JdbcTemplate.queryForObject(String sql,
Object[] args,
int[] argTypes,
RowMapper rowMapper)
|
Object |
JdbcOperations.queryForObject(String sql,
Object[] args,
RowMapper 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. |
Object |
JdbcTemplate.queryForObject(String sql,
Object[] args,
RowMapper rowMapper)
|
Object |
JdbcOperations.queryForObject(String sql,
RowMapper rowMapper)
Execute a query given static SQL, mapping a single result row to a Java object via a RowMapper. |
Object |
JdbcTemplate.queryForObject(String sql,
RowMapper rowMapper)
|
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 an update 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 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. |
int |
JdbcTemplate.update(String sql)
|
int |
JdbcOperations.update(String sql,
Object[] args)
Issue an update 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 an update 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 using a PreparedStatementSetter to set bind parameters, with given SQL. |
int |
JdbcTemplate.update(String sql,
PreparedStatementSetter pss)
|
Uses of DataAccessException in org.springframework.jdbc.core.support |
---|
Methods in org.springframework.jdbc.core.support that throw DataAccessException | |
---|---|
Object |
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. |
Uses of DataAccessException in org.springframework.jdbc.object |
---|
Methods in org.springframework.jdbc.object that throw DataAccessException | |
---|---|
List |
SqlQuery.execute()
Convenient method to execute without parameters nor context. |
List |
SqlQuery.execute(int p1)
Convenient method to execute with a single int parameter. |
List |
SqlQuery.execute(int p1,
int p2)
Convenient method to execute with two int parameters. |
List |
SqlQuery.execute(int p1,
int p2,
Map context)
Convenient method to execute with two int parameters and context. |
List |
SqlQuery.execute(int p1,
Map context)
Convenient method to execute with a single int parameter and context. |
List |
SqlQuery.execute(long p1)
Convenient method to execute with a single long parameter. |
List |
SqlQuery.execute(long p1,
Map context)
Convenient method to execute with a single long parameter and context. |
Map |
StoredProcedure.execute(Map inParams)
Execute the stored procedure. |
List |
SqlQuery.execute(Map context)
Convenient method to execute without parameters. |
List |
SqlQuery.execute(Object[] params)
Convenient method to execute without context. |
List |
SqlQuery.execute(Object[] params,
Map context)
Central execution method. |
Map |
StoredProcedure.execute(ParameterMapper inParamMapper)
Execute the stored procedure. |
List |
SqlQuery.execute(String p1)
Convenient method to execute with a single String parameter. |
List |
SqlQuery.execute(String p1,
Map context)
Convenient method to execute with a single String parameter and context. |
Object |
SqlQuery.findObject(int p1)
Convenient method to find a single object given a single int parameter. |
Object |
SqlQuery.findObject(int p1,
int p2)
Convenient method to find a single object given two int parameters. |
Object |
SqlQuery.findObject(int p1,
int p2,
Map context)
Convenient method to find a single object given two int parameters and a context. |
Object |
SqlQuery.findObject(int p1,
Map context)
Convenient method to find a single object given a single int parameter and a context. |
Object |
SqlQuery.findObject(long p1)
Convenient method to find a single object given a single long parameter. |
Object |
SqlQuery.findObject(long p1,
Map context)
Convenient method to find a single object given a single long parameter and a context. |
Object |
SqlQuery.findObject(Object[] params)
Convenient method to find a single object without context. |
Object |
SqlQuery.findObject(Object[] params,
Map context)
Generic object finder method, used by all other findObject methods. |
Object |
SqlQuery.findObject(String p1)
Convenient method to find a single object given a single String parameter. |
Object |
SqlQuery.findObject(String p1,
Map context)
Convenient method to find a single object given a single String parameter and a context. |
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 |
SqlUpdate.update(Object[] params)
Generic method to execute the update given parameters. |
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,
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. |
Uses of DataAccessException in org.springframework.jdbc.support |
---|
Methods in org.springframework.jdbc.support that return DataAccessException | |
---|---|
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. |
DataAccessException |
SQLErrorCodeSQLExceptionTranslator.translate(String task,
String sql,
SQLException sqlEx)
|
DataAccessException |
SQLStateSQLExceptionTranslator.translate(String task,
String sql,
SQLException sqlEx)
|
DataAccessException |
SQLExceptionTranslator.translate(String task,
String sql,
SQLException sqlEx)
Translate the given SQL exception into a generic data access exception. |
Uses of DataAccessException in org.springframework.jdbc.support.incrementer |
---|
Methods in org.springframework.jdbc.support.incrementer that throw DataAccessException | |
---|---|
protected long |
MySQLMaxValueIncrementer.getNextKey()
|
protected long |
HsqlMaxValueIncrementer.getNextKey()
|
protected long |
AbstractSequenceMaxValueIncrementer.getNextKey()
|
int |
DataFieldMaxValueIncrementer.nextIntValue()
Increments data store field's max value as int. |
int |
AbstractDataFieldMaxValueIncrementer.nextIntValue()
|
long |
DataFieldMaxValueIncrementer.nextLongValue()
Increments data store field's max value as long. |
long |
AbstractDataFieldMaxValueIncrementer.nextLongValue()
|
String |
DataFieldMaxValueIncrementer.nextStringValue()
Increments data store field's max value as String. |
String |
AbstractDataFieldMaxValueIncrementer.nextStringValue()
|
Uses of DataAccessException in org.springframework.orm |
---|
Subclasses of DataAccessException in org.springframework.orm | |
---|---|
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. |
Uses of DataAccessException in org.springframework.orm.hibernate |
---|
Subclasses of DataAccessException in org.springframework.orm.hibernate | |
---|---|
class |
HibernateJdbcException
Hibernate-specific subclass of UncategorizedDataAccessException, for JDBC exceptions that Hibernate rethrew. |
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. |
Methods in org.springframework.orm.hibernate that return DataAccessException | |
---|---|
static DataAccessException |
SessionFactoryUtils.convertHibernateAccessException(net.sf.hibernate.HibernateException ex)
Convert the given HibernateException to an appropriate exception from the org.springframework.dao hierarchy. |
protected DataAccessException |
HibernateTransactionManager.convertHibernateAccessException(net.sf.hibernate.HibernateException ex)
Convert the given HibernateException to an appropriate exception from the org.springframework.dao hierarchy. |
DataAccessException |
HibernateAccessor.convertHibernateAccessException(net.sf.hibernate.HibernateException ex)
Convert the given HibernateException to an appropriate exception from the org.springframework.dao hierarchy. |
protected DataAccessException |
HibernateTransactionManager.convertJdbcAccessException(net.sf.hibernate.JDBCException ex)
Convert the given JDBCException to an appropriate exception from the org.springframework.dao hierarchy. |
protected DataAccessException |
HibernateAccessor.convertJdbcAccessException(net.sf.hibernate.JDBCException ex)
Convert the given JDBCException to an appropriate exception from the org.springframework.dao hierarchy. |
protected DataAccessException |
HibernateAccessor.convertJdbcAccessException(SQLException ex)
Convert the given SQLException to an appropriate exception from the org.springframework.dao hierarchy. |
Methods in org.springframework.orm.hibernate that throw DataAccessException | |
---|---|
void |
HibernateTemplate.clear()
|
void |
HibernateOperations.clear()
Remove all objects from the Session cache, and cancel all pending saves, updates and deletes. |
void |
HibernateTemplate.closeIterator(Iterator it)
|
void |
HibernateOperations.closeIterator(Iterator it)
Close an Iterator created by iterate operations immediately, instead of waiting until the session is closed or disconnected. |
boolean |
HibernateTemplate.contains(Object entity)
|
boolean |
HibernateOperations.contains(Object entity)
Check whether the given object is in the Session cache. |
void |
LocalSessionFactoryBean.createDatabaseSchema()
Execute schema creation script, determined by the Configuration object used for creating the SessionFactory. |
void |
HibernateTemplate.delete(Object entity)
|
void |
HibernateOperations.delete(Object entity)
Delete the given persistent instance. |
void |
HibernateTemplate.delete(Object entity,
net.sf.hibernate.LockMode lockMode)
|
void |
HibernateOperations.delete(Object entity,
net.sf.hibernate.LockMode lockMode)
Delete the given persistent instance. |
int |
HibernateTemplate.delete(String queryString)
|
int |
HibernateOperations.delete(String queryString)
Delete all objects returned by the query. |
int |
HibernateTemplate.delete(String queryString,
Object[] values,
net.sf.hibernate.type.Type[] types)
|
int |
HibernateOperations.delete(String queryString,
Object[] values,
net.sf.hibernate.type.Type[] types)
Delete all objects returned by the query. |
int |
HibernateTemplate.delete(String queryString,
Object value,
net.sf.hibernate.type.Type type)
|
int |
HibernateOperations.delete(String queryString,
Object value,
net.sf.hibernate.type.Type type)
Delete all objects returned by the query. |
void |
HibernateTemplate.deleteAll(Collection entities)
|
void |
HibernateOperations.deleteAll(Collection entities)
Delete all given persistent instances. |
void |
LocalSessionFactoryBean.dropDatabaseSchema()
Execute schema drop script, determined by the Configuration object used for creating the SessionFactory. |
void |
HibernateTemplate.evict(Object entity)
|
void |
HibernateOperations.evict(Object entity)
Remove the given object from the Session cache. |
Object |
HibernateTemplate.execute(HibernateCallback action)
|
Object |
HibernateOperations.execute(HibernateCallback action)
Execute the action specified by the given action object within a Session. |
Object |
HibernateTemplate.execute(HibernateCallback action,
boolean exposeNativeSession)
Execute the action specified by the given action object within a Session. |
List |
HibernateTemplate.executeFind(HibernateCallback action)
|
List |
HibernateOperations.executeFind(HibernateCallback action)
Execute the specified action assuming that the result object is a List. |
List |
HibernateTemplate.find(String queryString)
|
List |
HibernateOperations.find(String queryString)
Execute a query for persistent instances. |
List |
HibernateTemplate.find(String queryString,
Object value)
|
List |
HibernateOperations.find(String queryString,
Object value)
Execute a query for persistent instances, binding one value to a "?" |
List |
HibernateTemplate.find(String queryString,
Object[] values)
|
List |
HibernateOperations.find(String queryString,
Object[] values)
Execute a query for persistent instances, binding a number of values to "?" |
List |
HibernateTemplate.find(String queryString,
Object[] values,
net.sf.hibernate.type.Type[] types)
|
List |
HibernateOperations.find(String queryString,
Object[] values,
net.sf.hibernate.type.Type[] types)
Execute a query for persistent instances, binding a number of values to "?" |
List |
HibernateTemplate.find(String queryString,
Object value,
net.sf.hibernate.type.Type type)
|
List |
HibernateOperations.find(String queryString,
Object value,
net.sf.hibernate.type.Type type)
Execute a query for persistent instances, binding one value to a "?" |
List |
HibernateTemplate.findByNamedParam(String queryString,
String[] paramNames,
Object[] values)
|
List |
HibernateOperations.findByNamedParam(String queryString,
String[] paramNames,
Object[] values)
Execute a query for persistent instances, binding a number of values to ":" named parameters in the query string. |
List |
HibernateTemplate.findByNamedParam(String queryString,
String[] paramNames,
Object[] values,
net.sf.hibernate.type.Type[] types)
|
List |
HibernateOperations.findByNamedParam(String queryString,
String[] paramNames,
Object[] values,
net.sf.hibernate.type.Type[] types)
Execute a query for persistent instances, binding a number of values to ":" named parameters in the query string. |
List |
HibernateTemplate.findByNamedParam(String queryString,
String paramName,
Object value)
|
List |
HibernateOperations.findByNamedParam(String queryName,
String paramName,
Object value)
Execute a query for persistent instances, binding one value to a ":" named parameter in the query string. |
List |
HibernateTemplate.findByNamedParam(String queryString,
String paramName,
Object value,
net.sf.hibernate.type.Type type)
|
List |
HibernateOperations.findByNamedParam(String queryName,
String paramName,
Object value,
net.sf.hibernate.type.Type type)
Execute a query for persistent instances, binding one value to a ":" named parameter in the query string. |
List |
HibernateTemplate.findByNamedQuery(String queryName)
|
List |
HibernateOperations.findByNamedQuery(String queryName)
Execute a named query for persistent instances. |
List |
HibernateTemplate.findByNamedQuery(String queryName,
Object value)
|
List |
HibernateOperations.findByNamedQuery(String queryName,
Object value)
Execute a named query for persistent instances, binding one value to a "?" |
List |
HibernateTemplate.findByNamedQuery(String queryName,
Object[] values)
|
List |
HibernateOperations.findByNamedQuery(String queryName,
Object[] values)
Execute a named query for persistent instances, binding a number of values to "?" |
List |
HibernateTemplate.findByNamedQuery(String queryName,
Object[] values,
net.sf.hibernate.type.Type[] types)
|
List |
HibernateOperations.findByNamedQuery(String queryName,
Object[] values,
net.sf.hibernate.type.Type[] types)
Execute a named query for persistent instances, binding a number of values to "?" |
List |
HibernateTemplate.findByNamedQuery(String queryName,
Object value,
net.sf.hibernate.type.Type type)
|
List |
HibernateOperations.findByNamedQuery(String queryName,
Object value,
net.sf.hibernate.type.Type type)
Execute a named query for persistent instances, binding one value to a "?" |
List |
HibernateTemplate.findByNamedQueryAndNamedParam(String queryName,
String[] paramNames,
Object[] values)
|
List |
HibernateOperations.findByNamedQueryAndNamedParam(String queryName,
String[] paramNames,
Object[] values)
Execute a named query for persistent instances, binding a number of values to ":" named parameters in the query string. |
List |
HibernateTemplate.findByNamedQueryAndNamedParam(String queryName,
String[] paramNames,
Object[] values,
net.sf.hibernate.type.Type[] types)
|
List |
HibernateOperations.findByNamedQueryAndNamedParam(String queryName,
String[] paramNames,
Object[] values,
net.sf.hibernate.type.Type[] types)
Execute a named query for persistent instances, binding a number of values to ":" named parameters in the query string. |
List |
HibernateTemplate.findByNamedQueryAndNamedParam(String queryName,
String paramName,
Object value)
|
List |
HibernateOperations.findByNamedQueryAndNamedParam(String queryName,
String paramName,
Object value)
Execute a named query for persistent instances, binding one value to a ":" named parameter in the query string. |
List |
HibernateTemplate.findByNamedQueryAndNamedParam(String queryName,
String paramName,
Object value,
net.sf.hibernate.type.Type type)
|
List |
HibernateOperations.findByNamedQueryAndNamedParam(String queryName,
String paramName,
Object value,
net.sf.hibernate.type.Type type)
Execute a named query for persistent instances, binding one value to a ":" named parameter in the query string. |
List |
HibernateTemplate.findByNamedQueryAndValueBean(String queryName,
Object valueBean)
|
List |
HibernateOperations.findByNamedQueryAndValueBean(String queryName,
Object valueBean)
Execute a named query for persistent instances, binding the properties of the given bean to ":" named parameters in the query string. |
List |
HibernateTemplate.findByValueBean(String queryString,
Object valueBean)
|
List |
HibernateOperations.findByValueBean(String queryString,
Object valueBean)
Execute a query for persistent instances, binding the properties of the given bean to named parameters in the query string. |
void |
HibernateTemplate.flush()
|
void |
HibernateOperations.flush()
Flush all pending saves, updates and deletes to the database. |
Object |
HibernateTemplate.get(Class entityClass,
Serializable id)
|
Object |
HibernateOperations.get(Class entityClass,
Serializable id)
Return the persistent instance of the given entity class with the given identifier, or null if not found. |
Object |
HibernateTemplate.get(Class entityClass,
Serializable id,
net.sf.hibernate.LockMode lockMode)
|
Object |
HibernateOperations.get(Class entityClass,
Serializable id,
net.sf.hibernate.LockMode lockMode)
Return the persistent instance of the given entity class with the given identifier, or null if not found. |
void |
HibernateTemplate.initialize(Object proxy)
|
void |
HibernateOperations.initialize(Object proxy)
Force initialization of a Hibernate proxy or persistent collection. |
Iterator |
HibernateTemplate.iterate(String queryString)
|
Iterator |
HibernateOperations.iterate(String queryString)
Execute a query for persistent instances. |
Iterator |
HibernateTemplate.iterate(String queryString,
Object value)
|
Iterator |
HibernateOperations.iterate(String queryString,
Object value)
Execute a query for persistent instances, binding one value to a "?" |
Iterator |
HibernateTemplate.iterate(String queryString,
Object[] values)
|
Iterator |
HibernateOperations.iterate(String queryString,
Object[] values)
Execute a query for persistent instances, binding a number of values to "?" |
Iterator |
HibernateTemplate.iterate(String queryString,
Object[] values,
net.sf.hibernate.type.Type[] types)
|
Iterator |
HibernateOperations.iterate(String queryString,
Object[] values,
net.sf.hibernate.type.Type[] types)
Execute a query for persistent instances, binding a number of values to "?" |
Iterator |
HibernateTemplate.iterate(String queryString,
Object value,
net.sf.hibernate.type.Type type)
|
Iterator |
HibernateOperations.iterate(String queryString,
Object value,
net.sf.hibernate.type.Type type)
Execute a query for persistent instances, binding one value to a "?" |
Object |
HibernateTemplate.load(Class entityClass,
Serializable id)
|
Object |
HibernateOperations.load(Class entityClass,
Serializable id)
Return the persistent instance of the given entity class with the given identifier, throwing an exception if not found. |
Object |
HibernateTemplate.load(Class entityClass,
Serializable id,
net.sf.hibernate.LockMode lockMode)
|
Object |
HibernateOperations.load(Class entityClass,
Serializable id,
net.sf.hibernate.LockMode lockMode)
Return the persistent instance of the given entity class with the given identifier, throwing an exception if not found. |
void |
HibernateTemplate.load(Object entity,
Serializable id)
|
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. |
List |
HibernateTemplate.loadAll(Class entityClass)
|
List |
HibernateOperations.loadAll(Class entityClass)
Return all persistent instances of the given entity class. |
void |
HibernateTemplate.lock(Object entity,
net.sf.hibernate.LockMode lockMode)
|
void |
HibernateOperations.lock(Object entity,
net.sf.hibernate.LockMode lockMode)
Obtain the specified lock level upon the given object, implicitly checking whether the corresponding database entry still exists (throwing an OptimisticLockingFailureException if not found). |
void |
HibernateTemplate.refresh(Object entity)
|
void |
HibernateOperations.refresh(Object entity)
Re-read the state of the given persistent instance. |
void |
HibernateTemplate.refresh(Object entity,
net.sf.hibernate.LockMode lockMode)
|
void |
HibernateOperations.refresh(Object entity,
net.sf.hibernate.LockMode lockMode)
Re-read the state of the given persistent instance. |
void |
HibernateTemplate.replicate(Object entity,
net.sf.hibernate.ReplicationMode replicationMode)
|
void |
HibernateOperations.replicate(Object entity,
net.sf.hibernate.ReplicationMode replicationMode)
Persist the state of the given detached instance according to the given replication mode, reusing the current identifier value. |
Serializable |
HibernateTemplate.save(Object entity)
|
Serializable |
HibernateOperations.save(Object entity)
Persist the given transient instance. |
void |
HibernateTemplate.save(Object entity,
Serializable id)
|
void |
HibernateOperations.save(Object entity,
Serializable id)
Persist the given transient instance with the given identifier. |
void |
HibernateTemplate.saveOrUpdate(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.saveOrUpdateAll(Collection entities)
|
void |
HibernateOperations.saveOrUpdateAll(Collection entities)
Save or update all given persistent instances, according to its id (matching the configured "unsaved-value"?). |
Object |
HibernateTemplate.saveOrUpdateCopy(Object entity)
|
Object |
HibernateOperations.saveOrUpdateCopy(Object entity)
Save or update the contents of given persistent object, according to its id (matching the configured "unsaved-value"?). |
void |
HibernateTemplate.update(Object entity)
|
void |
HibernateOperations.update(Object entity)
Update the given persistent instance. |
void |
HibernateTemplate.update(Object entity,
net.sf.hibernate.LockMode lockMode)
|
void |
HibernateOperations.update(Object entity,
net.sf.hibernate.LockMode lockMode)
Update the given persistent instance. |
void |
LocalSessionFactoryBean.updateDatabaseSchema()
Execute schema update script, determined by the Configuration object used for creating the SessionFactory. |
Uses of DataAccessException in org.springframework.orm.hibernate.support |
---|
Methods in org.springframework.orm.hibernate.support that return DataAccessException | |
---|---|
protected DataAccessException |
HibernateDaoSupport.convertHibernateAccessException(net.sf.hibernate.HibernateException ex)
Convert the given HibernateException to an appropriate exception from the org.springframework.dao hierarchy. |
Methods in org.springframework.orm.hibernate.support that throw DataAccessException | |
---|---|
void |
OpenSessionInViewInterceptor.afterCompletion(HttpServletRequest request,
HttpServletResponse response,
Object handler,
Exception ex)
Unbind the Hibernate Session from the thread and closes 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(HttpServletRequest request,
HttpServletResponse response,
Object handler,
ModelAndView modelAndView)
Flush the Hibernate Session before view rendering, if necessary. |
boolean |
OpenSessionInViewInterceptor.preHandle(HttpServletRequest request,
HttpServletResponse response,
Object handler)
Open a new Hibernate Session according to the settings of this HibernateAccessor and binds in to the thread via TransactionSynchronizationManager. |
Uses of DataAccessException in org.springframework.orm.hibernate3 |
---|
Methods in org.springframework.orm.hibernate3 that return DataAccessException | |
---|---|
DataAccessException |
HibernateAccessor.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. |
protected DataAccessException |
HibernateTransactionManager.convertHibernateAccessException(org.hibernate.HibernateException ex)
Convert the given HibernateException to an appropriate exception from the org.springframework.dao hierarchy. |
protected DataAccessException |
HibernateAccessor.convertJdbcAccessException(org.hibernate.JDBCException ex)
Convert the given JDBCException to an appropriate exception from the org.springframework.dao hierarchy. |
protected DataAccessException |
HibernateTransactionManager.convertJdbcAccessException(org.hibernate.JDBCException ex)
Convert the given JDBCException to an appropriate exception from the org.springframework.dao hierarchy. |
protected DataAccessException |
HibernateAccessor.convertJdbcAccessException(SQLException ex)
Convert the given SQLException to an appropriate exception from the org.springframework.dao hierarchy. |
Methods in org.springframework.orm.hibernate3 that throw DataAccessException | |
---|---|
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 value)
Update/delete all objects according to the given query. |
int |
HibernateTemplate.bulkUpdate(String queryString,
Object value)
|
int |
HibernateOperations.bulkUpdate(String queryString,
Object[] values)
Update/delete all objects according to the given query. |
int |
HibernateTemplate.bulkUpdate(String queryString,
Object[] values)
|
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)
Close an Iterator created by iterate operations immediately, 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.deleteAll(Collection entities)
Delete all given persistent instances. |
void |
HibernateTemplate.deleteAll(Collection entities)
|
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)
|
Object |
HibernateOperations.execute(HibernateCallback action)
Execute the action specified by the given action object within a Session. |
Object |
HibernateTemplate.execute(HibernateCallback action)
|
Object |
HibernateTemplate.execute(HibernateCallback action,
boolean exposeNativeSession)
Execute the action specified by the given action object within a Session. |
List |
HibernateOperations.executeFind(HibernateCallback action)
Execute the specified action assuming that the result object is a List. |
List |
HibernateTemplate.executeFind(HibernateCallback action)
|
List |
HibernateOperations.find(String queryString)
Execute a query for persistent instances. |
List |
HibernateTemplate.find(String queryString)
|
List |
HibernateOperations.find(String queryString,
Object value)
Execute a query for persistent instances, binding one value to a "?" |
List |
HibernateTemplate.find(String queryString,
Object value)
|
List |
HibernateOperations.find(String queryString,
Object[] values)
Execute a query for persistent instances, binding a number of values to "?" |
List |
HibernateTemplate.find(String queryString,
Object[] values)
|
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 a 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 a 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.findByNamedParam(String queryString,
String[] paramNames,
Object[] values)
Execute a query for persistent instances, 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 queryName,
String paramName,
Object value)
Execute a query for persistent instances, 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 for persistent instances. |
List |
HibernateTemplate.findByNamedQuery(String queryName)
|
List |
HibernateOperations.findByNamedQuery(String queryName,
Object value)
Execute a named query for persistent instances, binding one value to a "?" |
List |
HibernateTemplate.findByNamedQuery(String queryName,
Object value)
|
List |
HibernateOperations.findByNamedQuery(String queryName,
Object[] values)
Execute a named query for persistent instances, binding a number of values to "?" |
List |
HibernateTemplate.findByNamedQuery(String queryName,
Object[] values)
|
List |
HibernateOperations.findByNamedQueryAndNamedParam(String queryName,
String[] paramNames,
Object[] values)
Execute a named query for persistent instances, 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 for persistent instances, 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 for persistent instances, 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 a query for persistent instances, 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()
|
Object |
HibernateOperations.get(Class entityClass,
Serializable id)
Return the persistent instance of the given entity class with the given identifier, or null if not found. |
Object |
HibernateTemplate.get(Class entityClass,
Serializable id)
|
Object |
HibernateOperations.get(Class 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. |
Object |
HibernateTemplate.get(Class 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 value)
Execute a query for persistent instances, binding one value to a "?" |
Iterator |
HibernateTemplate.iterate(String queryString,
Object value)
|
Iterator |
HibernateOperations.iterate(String queryString,
Object[] values)
Execute a query for persistent instances, binding a number of values to "?" |
Iterator |
HibernateTemplate.iterate(String queryString,
Object[] values)
|
Object |
HibernateOperations.load(Class entityClass,
Serializable id)
Return the persistent instance of the given entity class with the given identifier, throwing an exception if not found. |
Object |
HibernateTemplate.load(Class entityClass,
Serializable id)
|
Object |
HibernateOperations.load(Class 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. |
Object |
HibernateTemplate.load(Class 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)
|
List |
HibernateOperations.loadAll(Class entityClass)
Return all persistent instances of the given entity class. |
List |
HibernateTemplate.loadAll(Class 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 (throwing an OptimisticLockingFailureException if not found). |
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 (throwing an OptimisticLockingFailureException if not found). |
void |
HibernateTemplate.lock(String entityName,
Object entity,
org.hibernate.LockMode lockMode)
|
Object |
HibernateOperations.merge(Object entity)
Copy the state of the given object onto the persistent object with the same identifier. |
Object |
HibernateTemplate.merge(Object entity)
|
Object |
HibernateOperations.merge(String entityName,
Object entity)
Copy the state of the given object onto the persistent object with the same identifier. |
Object |
HibernateTemplate.merge(String entityName,
Object 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)
|
void |
HibernateOperations.save(Object entity,
Serializable id)
Persist the given transient instance with the given identifier. |
void |
HibernateTemplate.save(Object entity,
Serializable id)
|
Serializable |
HibernateOperations.save(String entityName,
Object entity)
Persist the given transient instance. |
Serializable |
HibernateTemplate.save(String entityName,
Object entity)
|
void |
HibernateOperations.save(String entityName,
Object entity,
Serializable id)
Persist the given transient instance with the given identifier. |
void |
HibernateTemplate.save(String entityName,
Object entity,
Serializable id)
|
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)
Save or update all given persistent instances, according to its id (matching the configured "unsaved-value"?). |
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. |
Uses of DataAccessException in org.springframework.orm.hibernate3.support |
---|
Methods in org.springframework.orm.hibernate3.support that return DataAccessException | |
---|---|
protected DataAccessException |
HibernateDaoSupport.convertHibernateAccessException(org.hibernate.HibernateException ex)
Convert the given HibernateException to an appropriate exception from the org.springframework.dao hierarchy. |
Methods in org.springframework.orm.hibernate3.support that throw DataAccessException | |
---|---|
void |
OpenSessionInViewInterceptor.afterCompletion(HttpServletRequest request,
HttpServletResponse response,
Object handler,
Exception ex)
Unbind the Hibernate Session from the thread and closes 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(HttpServletRequest request,
HttpServletResponse response,
Object handler,
ModelAndView modelAndView)
Flush the Hibernate Session before view rendering, if necessary. |
boolean |
OpenSessionInViewInterceptor.preHandle(HttpServletRequest request,
HttpServletResponse response,
Object handler)
Open a new Hibernate Session according to the settings of this HibernateAccessor and binds in to the thread via TransactionSynchronizationManager. |
Uses of DataAccessException in org.springframework.orm.ibatis |
---|
Methods in org.springframework.orm.ibatis that throw DataAccessException | |
---|---|
int |
SqlMapClientTemplate.delete(String statementName,
Object parameterObject)
|
int |
SqlMapClientOperations.delete(String statementName,
Object parameterObject)
|
void |
SqlMapClientTemplate.delete(String statementName,
Object parameterObject,
int requiredRowsAffected)
|
void |
SqlMapClientOperations.delete(String statementName,
Object parameterObject,
int requiredRowsAffected)
Convenience method provided by Spring: execute a delete operation with an automatic check that the delete affected the given required number of rows. |
Object |
SqlMapClientTemplate.execute(SqlMapClientCallback action)
Execute the given data access action on a SqlMapSession. |
Object |
SqlMapTemplate.execute(String statementName,
SqlMapCallback action)
Execute the given data access action on the given iBATIS mapped statement. |
List |
SqlMapTemplate.executeQueryForList(String statementName,
Object parameterObject)
|
List |
SqlMapOperations.executeQueryForList(String statementName,
Object parameterObject)
|
List |
SqlMapTemplate.executeQueryForList(String statementName,
Object parameterObject,
int skipResults,
int maxResults)
|
List |
SqlMapOperations.executeQueryForList(String statementName,
Object parameterObject,
int skipResults,
int maxResults)
|
Map |
SqlMapTemplate.executeQueryForMap(String statementName,
Object parameterObject,
String keyProperty)
|
Map |
SqlMapOperations.executeQueryForMap(String statementName,
Object parameterObject,
String keyProperty)
|
Map |
SqlMapTemplate.executeQueryForMap(String statementName,
Object parameterObject,
String keyProperty,
String valueProperty)
|
Map |
SqlMapOperations.executeQueryForMap(String statementName,
Object parameterObject,
String keyProperty,
String valueProperty)
|
Object |
SqlMapTemplate.executeQueryForObject(String statementName,
Object parameterObject)
|
Object |
SqlMapOperations.executeQueryForObject(String statementName,
Object parameterObject)
|
Object |
SqlMapTemplate.executeQueryForObject(String statementName,
Object parameterObject,
Object resultObject)
|
Object |
SqlMapOperations.executeQueryForObject(String statementName,
Object parameterObject,
Object resultObject)
|
void |
SqlMapTemplate.executeQueryWithRowHandler(String statementName,
Object parameterObject,
com.ibatis.db.sqlmap.RowHandler rowHandler)
|
void |
SqlMapOperations.executeQueryWithRowHandler(String statementName,
Object parameterObject,
com.ibatis.db.sqlmap.RowHandler rowHandler)
|
int |
SqlMapTemplate.executeUpdate(String statementName,
Object parameterObject)
|
int |
SqlMapOperations.executeUpdate(String statementName,
Object parameterObject)
|
List |
SqlMapClientTemplate.executeWithListResult(SqlMapClientCallback action)
Execute the given data access action on a SqlMapSession, expecting a List result. |
List |
SqlMapTemplate.executeWithListResult(String statementName,
SqlMapCallback action)
Execute the given data access action on the given mapped statement, expecting a List result. |
Map |
SqlMapClientTemplate.executeWithMapResult(SqlMapClientCallback action)
Execute the given data access action on a SqlMapSession, expecting a Map result. |
Map |
SqlMapTemplate.executeWithMapResult(String statementName,
SqlMapCallback action)
Execute the given data access action on the given mapped statement, expecting a Map result. |
Object |
SqlMapClientTemplate.insert(String statementName,
Object parameterObject)
|
Object |
SqlMapClientOperations.insert(String statementName,
Object parameterObject)
|
List |
SqlMapClientTemplate.queryForList(String statementName,
Object parameterObject)
|
List |
SqlMapClientOperations.queryForList(String statementName,
Object parameterObject)
|
List |
SqlMapClientTemplate.queryForList(String statementName,
Object parameterObject,
int skipResults,
int maxResults)
|
List |
SqlMapClientOperations.queryForList(String statementName,
Object parameterObject,
int skipResults,
int maxResults)
|
Map |
SqlMapClientTemplate.queryForMap(String statementName,
Object parameterObject,
String keyProperty)
|
Map |
SqlMapClientOperations.queryForMap(String statementName,
Object parameterObject,
String keyProperty)
|
Map |
SqlMapClientTemplate.queryForMap(String statementName,
Object parameterObject,
String keyProperty,
String valueProperty)
|
Map |
SqlMapClientOperations.queryForMap(String statementName,
Object parameterObject,
String keyProperty,
String valueProperty)
|
Object |
SqlMapClientTemplate.queryForObject(String statementName,
Object parameterObject)
|
Object |
SqlMapClientOperations.queryForObject(String statementName,
Object parameterObject)
|
Object |
SqlMapClientTemplate.queryForObject(String statementName,
Object parameterObject,
Object resultObject)
|
Object |
SqlMapClientOperations.queryForObject(String statementName,
Object parameterObject,
Object resultObject)
|
com.ibatis.common.util.PaginatedList |
SqlMapClientTemplate.queryForPaginatedList(String statementName,
Object parameterObject,
int pageSize)
|
com.ibatis.common.util.PaginatedList |
SqlMapClientOperations.queryForPaginatedList(String statementName,
Object parameterObject,
int pageSize)
|
void |
SqlMapClientTemplate.queryWithRowHandler(String statementName,
Object parameterObject,
com.ibatis.sqlmap.client.event.RowHandler rowHandler)
|
void |
SqlMapClientOperations.queryWithRowHandler(String statementName,
Object parameterObject,
com.ibatis.sqlmap.client.event.RowHandler rowHandler)
|
int |
SqlMapClientTemplate.update(String statementName,
Object parameterObject)
|
int |
SqlMapClientOperations.update(String statementName,
Object parameterObject)
|
void |
SqlMapClientTemplate.update(String statementName,
Object parameterObject,
int requiredRowsAffected)
|
void |
SqlMapClientOperations.update(String statementName,
Object parameterObject,
int requiredRowsAffected)
Convenience method provided by Spring: execute an update operation with an automatic check that the update affected the given required number of rows. |
Uses of DataAccessException in org.springframework.orm.jdo |
---|
Subclasses of DataAccessException in org.springframework.orm.jdo | |
---|---|
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. |
Methods in org.springframework.orm.jdo that return DataAccessException | |
---|---|
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)
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. |
Methods in org.springframework.orm.jdo that throw DataAccessException | |
---|---|
void |
JdoTemplate.deletePersistent(Object entity)
|
void |
JdoOperations.deletePersistent(Object entity)
Delete the given persistent instance. |
void |
JdoTemplate.deletePersistentAll(Collection entities)
|
void |
JdoOperations.deletePersistentAll(Collection entities)
Delete all given persistent instances. |
void |
JdoTemplate.evict(Object entity)
|
void |
JdoOperations.evict(Object entity)
Remove the given object from the PersistenceManager cache. |
void |
JdoTemplate.evictAll()
|
void |
JdoOperations.evictAll()
Remove all objects from the PersistenceManager cache. |
void |
JdoTemplate.evictAll(Collection entities)
|
void |
JdoOperations.evictAll(Collection entities)
Remove all given objects from the PersistenceManager cache. |
Object |
JdoTemplate.execute(JdoCallback action)
|
Object |
JdoOperations.execute(JdoCallback action)
Execute the action specified by the given action object within a PersistenceManager. |
Object |
JdoTemplate.execute(JdoCallback action,
boolean exposeNativePersistenceManager)
Execute the action specified by the given action object within a PersistenceManager. |
Collection |
JdoTemplate.executeFind(JdoCallback action)
|
Collection |
JdoOperations.executeFind(JdoCallback action)
Execute the specified action assuming that the result object is a Collection. |
Collection |
JdoTemplate.find(Class entityClass)
|
Collection |
JdoOperations.find(Class entityClass)
Find all persistent instances of the given class. |
Collection |
JdoTemplate.find(Class entityClass,
String filter)
|
Collection |
JdoOperations.find(Class entityClass,
String filter)
Find all persistent instances of the given class that match the given JDOQL filter. |
Collection |
JdoTemplate.find(Class entityClass,
String filter,
String ordering)
|
Collection |
JdoOperations.find(Class entityClass,
String filter,
String ordering)
Find all persistent instances of the given class that match the given JDOQL filter, with the given result ordering. |
Collection |
JdoTemplate.find(Class entityClass,
String filter,
String parameters,
Map values)
|
Collection |
JdoOperations.find(Class entityClass,
String filter,
String parameters,
Map values)
Find all persistent instances of the given class that match the given JDOQL filter, using the given parameter declarations and parameter values. |
Collection |
JdoTemplate.find(Class entityClass,
String filter,
String parameters,
Map values,
String ordering)
|
Collection |
JdoOperations.find(Class entityClass,
String filter,
String parameters,
Map values,
String ordering)
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(Class entityClass,
String filter,
String parameters,
Object[] values)
|
Collection |
JdoOperations.find(Class entityClass,
String filter,
String parameters,
Object[] values)
Find all persistent instances of the given class that match the given JDOQL filter, using the given parameter declarations and parameter values. |
Collection |
JdoTemplate.find(Class entityClass,
String filter,
String parameters,
Object[] values,
String ordering)
|
Collection |
JdoOperations.find(Class entityClass,
String filter,
String parameters,
Object[] values,
String ordering)
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)
|
Collection |
JdoOperations.find(String queryString)
Find persistent instances through the given single-string JDOQL query. |
Collection |
JdoTemplate.find(String queryString,
Map values)
|
Collection |
JdoOperations.find(String queryString,
Map values)
Find persistent instances through the given single-string JDOQL query. |
Collection |
JdoTemplate.find(String language,
Object queryObject)
|
Collection |
JdoOperations.find(String language,
Object queryObject)
Find persistent instances through the given query object in the specified query language. |
Collection |
JdoTemplate.find(String queryString,
Object[] values)
|
Collection |
JdoOperations.find(String queryString,
Object[] values)
Find persistent instances through the given single-string JDOQL query. |
Collection |
JdoTemplate.findByNamedQuery(Class entityClass,
String queryName)
|
Collection |
JdoOperations.findByNamedQuery(Class entityClass,
String queryName)
Find persistent instances through the given named query. |
Collection |
JdoTemplate.findByNamedQuery(Class entityClass,
String queryName,
Map values)
|
Collection |
JdoOperations.findByNamedQuery(Class entityClass,
String queryName,
Map values)
Find persistent instances through the given named query. |
Collection |
JdoTemplate.findByNamedQuery(Class entityClass,
String queryName,
Object[] values)
|
Collection |
JdoOperations.findByNamedQuery(Class entityClass,
String queryName,
Object[] values)
Find persistent instances through the given named query. |
void |
JdoTemplate.flush()
|
void |
JdoOperations.flush()
Flush all transactional modifications to the database. |
Object |
JdoTemplate.getObjectById(Class entityClass,
Object idValue)
|
Object |
JdoOperations.getObjectById(Class entityClass,
Object idValue)
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)
|
Object |
JdoOperations.getObjectById(Object objectId)
Return the persistent instance with the given JDO object id, throwing an exception if not found. |
void |
JdoTemplate.makePersistent(Object entity)
|
void |
JdoOperations.makePersistent(Object entity)
Make the given transient instance persistent. |
void |
JdoTemplate.makePersistentAll(Collection entities)
|
void |
JdoOperations.makePersistentAll(Collection entities)
Make the given transient instances persistent. |
void |
JdoTemplate.refresh(Object entity)
|
void |
JdoOperations.refresh(Object entity)
Re-read the state of the given persistent instance. |
void |
JdoTemplate.refreshAll()
|
void |
JdoOperations.refreshAll()
Re-read the state of all persistent instances. |
void |
JdoTemplate.refreshAll(Collection entities)
|
void |
JdoOperations.refreshAll(Collection entities)
Re-read the state of all given persistent instances. |
Uses of DataAccessException in org.springframework.orm.jdo.support |
---|
Methods in org.springframework.orm.jdo.support that return DataAccessException | |
---|---|
protected DataAccessException |
JdoDaoSupport.convertJdoAccessException(javax.jdo.JDOException ex)
Convert the given JDOException to an appropriate exception from the org.springframework.dao hierarchy. |
Methods in org.springframework.orm.jdo.support that throw DataAccessException | |
---|---|
void |
OpenPersistenceManagerInViewInterceptor.afterCompletion(HttpServletRequest request,
HttpServletResponse response,
Object handler,
Exception ex)
|
boolean |
OpenPersistenceManagerInViewInterceptor.preHandle(HttpServletRequest request,
HttpServletResponse response,
Object handler)
|
Uses of DataAccessException in org.springframework.orm.ojb |
---|
Subclasses of DataAccessException in org.springframework.orm.ojb | |
---|---|
class |
OjbOperationException
Generic exception thrown on OJB operation failure without SQLException cause. |
Methods in org.springframework.orm.ojb that return DataAccessException | |
---|---|
protected DataAccessException |
OjbAccessor.convertJdbcAccessException(SQLException ex)
Convert the given SQLException to an appropriate exception from the org.springframework.dao hierarchy. |
DataAccessException |
OjbAccessor.convertOjbAccessException(org.apache.ojb.broker.PersistenceBrokerException ex)
Convert the given PersistenceBrokerException to an appropriate exception from the org.springframework.dao hierarchy. |
Methods in org.springframework.orm.ojb that throw DataAccessException | |
---|---|
void |
PersistenceBrokerTemplate.clearCache()
|
void |
PersistenceBrokerOperations.clearCache()
|
void |
PersistenceBrokerTemplate.delete(Object entity)
|
void |
PersistenceBrokerOperations.delete(Object entity)
|
void |
PersistenceBrokerTemplate.deleteByQuery(org.apache.ojb.broker.query.Query query)
|
void |
PersistenceBrokerOperations.deleteByQuery(org.apache.ojb.broker.query.Query query)
|
Object |
PersistenceBrokerTemplate.execute(PersistenceBrokerCallback action)
|
Object |
PersistenceBrokerOperations.execute(PersistenceBrokerCallback action)
Execute the action specified by the given action object within a PersistenceBroker. |
Collection |
PersistenceBrokerTemplate.executeFind(PersistenceBrokerCallback action)
|
Collection |
PersistenceBrokerOperations.executeFind(PersistenceBrokerCallback action)
Execute the specified action assuming that the result object is a Collection. |
Collection |
PersistenceBrokerTemplate.getCollectionByQuery(org.apache.ojb.broker.query.Query query)
|
Collection |
PersistenceBrokerOperations.getCollectionByQuery(org.apache.ojb.broker.query.Query query)
|
int |
PersistenceBrokerTemplate.getCount(org.apache.ojb.broker.query.Query query)
|
int |
PersistenceBrokerOperations.getCount(org.apache.ojb.broker.query.Query query)
|
Iterator |
PersistenceBrokerTemplate.getIteratorByQuery(org.apache.ojb.broker.query.Query query)
|
Iterator |
PersistenceBrokerOperations.getIteratorByQuery(org.apache.ojb.broker.query.Query query)
|
Object |
PersistenceBrokerTemplate.getObjectById(Class entityClass,
Object idValue)
|
Object |
PersistenceBrokerOperations.getObjectById(Class entityClass,
Object idValue)
Return the persistent instance of the given entity class with the given id value, throwing an exception if not found. |
Object |
PersistenceBrokerTemplate.getObjectByQuery(org.apache.ojb.broker.query.Query query)
|
Object |
PersistenceBrokerOperations.getObjectByQuery(org.apache.ojb.broker.query.Query query)
|
Iterator |
PersistenceBrokerOperations.getReportQueryIteratorByQuery(org.apache.ojb.broker.query.Query query)
|
void |
PersistenceBrokerTemplate.removeFromCache(Object entityOrId)
|
void |
PersistenceBrokerOperations.removeFromCache(Object entityOrId)
|
void |
PersistenceBrokerTemplate.store(Object entity)
|
void |
PersistenceBrokerOperations.store(Object entity)
|
Uses of DataAccessException in org.springframework.orm.ojb.support |
---|
Methods in org.springframework.orm.ojb.support that return DataAccessException | |
---|---|
protected DataAccessException |
PersistenceBrokerDaoSupport.convertOjbAccessException(org.apache.ojb.broker.PersistenceBrokerException ex)
Convert the given PersistenceBrokerException to an appropriate exception from the org.springframework.dao hierarchy. |
Uses of DataAccessException in org.springframework.orm.toplink |
---|
Subclasses of DataAccessException in org.springframework.orm.toplink | |
---|---|
class |
TopLinkJdbcException
TopLink-specific subclass of DataAccessException, for JDBC exceptions that TopLink rethrew. |
class |
TopLinkOptimisticLockingFailureException
TopLink-specific subclass of ObjectOptimisticLockingFailureException. |
class |
TopLinkQueryException
TopLink-specific subclass of InvalidDataAccessResourceUsageException, thrown on invalid TopLik query syntax or behavior. |
class |
TopLinkSystemException
TopLink-specific subclass of UncategorizedDataAccessException, for TopLink system errors that do not match any concrete org.springframework.dao exceptions. |
Methods in org.springframework.orm.toplink that return DataAccessException | |
---|---|
protected DataAccessException |
TopLinkTransactionManager.convertJdbcAccessException(SQLException ex)
Convert the given SQLException to an appropriate exception from the org.springframework.dao hierarchy. |
protected DataAccessException |
TopLinkAccessor.convertJdbcAccessException(SQLException ex)
Convert the given SQLException to an appropriate exception from the org.springframework.dao hierarchy. |
static DataAccessException |
SessionFactoryUtils.convertTopLinkAccessException(oracle.toplink.exceptions.TopLinkException ex)
Convert the given TopLinkException to an appropriate exception from the org.springframework.dao hierarchy. |
protected DataAccessException |
TopLinkTransactionManager.convertTopLinkAccessException(oracle.toplink.exceptions.TopLinkException ex)
Convert the given TopLinkException to an appropriate exception from the org.springframework.dao hierarchy. |
DataAccessException |
TopLinkAccessor.convertTopLinkAccessException(oracle.toplink.exceptions.TopLinkException ex)
Convert the given TopLinkException to an appropriate exception from the org.springframework.dao hierarchy. |
Methods in org.springframework.orm.toplink that throw DataAccessException | |
---|---|
Object |
TopLinkOperations.copy(Object entity)
Create a detached copy of the given entity object, using TopLink's default ObjectCopyingPolicy. |
Object |
TopLinkTemplate.copy(Object entity)
|
Object |
TopLinkOperations.copy(Object entity,
oracle.toplink.sessions.ObjectCopyingPolicy copyingPolicy)
Create a detached copy of the given entity object. |
Object |
TopLinkTemplate.copy(Object entity,
oracle.toplink.sessions.ObjectCopyingPolicy copyingPolicy)
|
List |
TopLinkOperations.copyAll(Collection entities)
Create detached copies of all given entity objects, using TopLink's default ObjectCopyingPolicy. |
List |
TopLinkTemplate.copyAll(Collection entities)
|
List |
TopLinkOperations.copyAll(Collection entities,
oracle.toplink.sessions.ObjectCopyingPolicy copyingPolicy)
Create detached copies of all given entity objects. |
List |
TopLinkTemplate.copyAll(Collection entities,
oracle.toplink.sessions.ObjectCopyingPolicy copyingPolicy)
|
Object |
TopLinkOperations.deepMerge(Object entity)
Reassociate the given entity copy with the current UnitOfWork, using deep merging of all contained entities. |
Object |
TopLinkTemplate.deepMerge(Object entity)
|
void |
TopLinkOperations.delete(Object entity)
Delete the given entity. |
void |
TopLinkTemplate.delete(Object entity)
|
void |
TopLinkOperations.deleteAll(Collection entities)
Delete all given entities. |
void |
TopLinkTemplate.deleteAll(Collection entities)
|
Object |
TopLinkOperations.execute(TopLinkCallback action)
Execute the action specified by the given action object within a TopLink Session. |
Object |
TopLinkTemplate.execute(TopLinkCallback action)
|
List |
TopLinkOperations.executeFind(TopLinkCallback action)
Execute the specified action assuming that the result object is a Collection. |
List |
TopLinkTemplate.executeFind(TopLinkCallback action)
|
Object |
TopLinkOperations.executeNamedQuery(Class entityClass,
String queryName)
Execute a given named query with the given arguments. |
Object |
TopLinkTemplate.executeNamedQuery(Class entityClass,
String queryName)
|
Object |
TopLinkOperations.executeNamedQuery(Class entityClass,
String queryName,
boolean enforceReadOnly)
Execute a given named query with the given arguments. |
Object |
TopLinkTemplate.executeNamedQuery(Class entityClass,
String queryName,
boolean enforceReadOnly)
|
Object |
TopLinkOperations.executeNamedQuery(Class entityClass,
String queryName,
Object[] args)
Execute a given named query with the given arguments. |
Object |
TopLinkTemplate.executeNamedQuery(Class entityClass,
String queryName,
Object[] args)
|
Object |
TopLinkOperations.executeNamedQuery(Class entityClass,
String queryName,
Object[] args,
boolean enforceReadOnly)
Execute a given named query with the given arguments. |
Object |
TopLinkTemplate.executeNamedQuery(Class entityClass,
String queryName,
Object[] args,
boolean enforceReadOnly)
|
Object |
TopLinkOperations.executeQuery(oracle.toplink.queryframework.DatabaseQuery query)
Execute the given query object with the given arguments. |
Object |
TopLinkTemplate.executeQuery(oracle.toplink.queryframework.DatabaseQuery query)
|
Object |
TopLinkOperations.executeQuery(oracle.toplink.queryframework.DatabaseQuery query,
boolean enforceReadOnly)
Execute the given query object with the given arguments. |
Object |
TopLinkTemplate.executeQuery(oracle.toplink.queryframework.DatabaseQuery query,
boolean enforceReadOnly)
|
Object |
TopLinkOperations.executeQuery(oracle.toplink.queryframework.DatabaseQuery query,
Object[] args)
Execute the given query object with the given arguments. |
Object |
TopLinkTemplate.executeQuery(oracle.toplink.queryframework.DatabaseQuery query,
Object[] args)
|
Object |
TopLinkOperations.executeQuery(oracle.toplink.queryframework.DatabaseQuery query,
Object[] args,
boolean enforceReadOnly)
Execute the given query object with the given arguments. |
Object |
TopLinkTemplate.executeQuery(oracle.toplink.queryframework.DatabaseQuery query,
Object[] args,
boolean enforceReadOnly)
|
Object |
TopLinkOperations.merge(Object entity)
Reassociate the given entity copy with the current UnitOfWork, using simple merging. |
Object |
TopLinkTemplate.merge(Object entity)
|
Object |
TopLinkOperations.mergeWithReferences(Object entity)
Reassociate the given entity copy with the current UnitOfWork, using merging with all references from this clone. |
Object |
TopLinkTemplate.mergeWithReferences(Object entity)
|
Object |
TopLinkOperations.read(Class entityClass,
oracle.toplink.queryframework.Call call)
Read an entity instance of the given class, as returned by the given call. |
Object |
TopLinkTemplate.read(Class entityClass,
oracle.toplink.queryframework.Call call)
|
Object |
TopLinkOperations.read(Class entityClass,
oracle.toplink.queryframework.Call call,
boolean enforceReadOnly)
Read an entity instance of the given class, as returned by the given call. |
Object |
TopLinkTemplate.read(Class entityClass,
oracle.toplink.queryframework.Call call,
boolean enforceReadOnly)
|
Object |
TopLinkOperations.read(Class entityClass,
oracle.toplink.expressions.Expression expression)
Read an entity instance of the given class that matches the given expression. |
Object |
TopLinkTemplate.read(Class entityClass,
oracle.toplink.expressions.Expression expression)
|
Object |
TopLinkOperations.read(Class entityClass,
oracle.toplink.expressions.Expression expression,
boolean enforceReadOnly)
Read an entity instance of the given class that matches the given expression. |
Object |
TopLinkTemplate.read(Class entityClass,
oracle.toplink.expressions.Expression expression,
boolean enforceReadOnly)
|
List |
TopLinkOperations.readAll(Class entityClass)
Read all entity instances of the given class. |
List |
TopLinkTemplate.readAll(Class entityClass)
|
List |
TopLinkOperations.readAll(Class entityClass,
boolean enforceReadOnly)
Read all entity instances of the given class. |
List |
TopLinkTemplate.readAll(Class entityClass,
boolean enforceReadOnly)
|
List |
TopLinkOperations.readAll(Class entityClass,
oracle.toplink.queryframework.Call call)
Read all entity instances of the given class, as returned by the given call. |
List |
TopLinkTemplate.readAll(Class entityClass,
oracle.toplink.queryframework.Call call)
|
List |
TopLinkOperations.readAll(Class entityClass,
oracle.toplink.queryframework.Call call,
boolean enforceReadOnly)
Read all entity instances of the given class, as returned by the given call. |
List |
TopLinkTemplate.readAll(Class entityClass,
oracle.toplink.queryframework.Call call,
boolean enforceReadOnly)
|
List |
TopLinkOperations.readAll(Class entityClass,
oracle.toplink.expressions.Expression expression)
Read all entity instances of the given class that match the given expression. |
List |
TopLinkTemplate.readAll(Class entityClass,
oracle.toplink.expressions.Expression expression)
|
List |
TopLinkOperations.readAll(Class entityClass,
oracle.toplink.expressions.Expression expression,
boolean enforceReadOnly)
Read all entity instances of the given class that match the given expression. |
List |
TopLinkTemplate.readAll(Class entityClass,
oracle.toplink.expressions.Expression expression,
boolean enforceReadOnly)
|
Object |
TopLinkOperations.readAndCopy(Class entityClass,
Object id)
Read the entity instance of the given class with the given id, throwing an exception if not found. |
Object |
TopLinkTemplate.readAndCopy(Class entityClass,
Object id)
|
Object |
TopLinkOperations.readAndCopy(Class entityClass,
Object[] keys)
Read the entity instance of the given class with the given composite id, throwing an exception if not found. |
Object |
TopLinkTemplate.readAndCopy(Class entityClass,
Object[] keys)
|
Object |
TopLinkOperations.readAndCopy(Class entityClass,
Object[] keys,
boolean enforceReadOnly)
Read the entity instance of the given class with the given composite id, throwing an exception if not found. |
Object |
TopLinkTemplate.readAndCopy(Class entityClass,
Object[] keys,
boolean enforceReadOnly)
|
Object |
TopLinkOperations.readAndCopy(Class entityClass,
Object id,
boolean enforceReadOnly)
Read the entity instance of the given class with the given id, throwing an exception if not found. |
Object |
TopLinkTemplate.readAndCopy(Class entityClass,
Object id,
boolean enforceReadOnly)
|
Object |
TopLinkOperations.readById(Class entityClass,
Object id)
Read the entity instance of the given class with the given id, throwing an exception if not found. |
Object |
TopLinkTemplate.readById(Class entityClass,
Object id)
|
Object |
TopLinkOperations.readById(Class entityClass,
Object[] keys)
Read the entity instance of the given class with the given composite id, throwing an exception if not found. |
Object |
TopLinkTemplate.readById(Class entityClass,
Object[] keys)
|
Object |
TopLinkOperations.readById(Class entityClass,
Object[] keys,
boolean enforceReadOnly)
Read the entity instance of the given class with the given composite id, throwing an exception if not found. |
Object |
TopLinkTemplate.readById(Class entityClass,
Object[] keys,
boolean enforceReadOnly)
|
Object |
TopLinkOperations.readById(Class entityClass,
Object id,
boolean enforceReadOnly)
Read the entity instance of the given class with the given id, throwing an exception if not found. |
Object |
TopLinkTemplate.readById(Class entityClass,
Object id,
boolean enforceReadOnly)
|
Object |
TopLinkOperations.refresh(Object entity)
Refresh the given entity object, returning the refreshed object. |
Object |
TopLinkTemplate.refresh(Object entity)
|
Object |
TopLinkOperations.refresh(Object entity,
boolean enforceReadOnly)
Refresh the given entity object, returning the refreshed object. |
Object |
TopLinkTemplate.refresh(Object entity,
boolean enforceReadOnly)
|
List |
TopLinkOperations.refreshAll(Collection entities)
Refresh the given entity objects, returning the corresponding refreshed objects. |
List |
TopLinkTemplate.refreshAll(Collection entities)
|
List |
TopLinkOperations.refreshAll(Collection entities,
boolean enforceReadOnly)
Refresh the given entity objects, returning the corresponding refreshed objects. |
List |
TopLinkTemplate.refreshAll(Collection entities,
boolean enforceReadOnly)
|
Object |
TopLinkOperations.shallowMerge(Object entity)
Reassociate the given entity copy with the current UnitOfWork, using shallow merging of the entity instance. |
Object |
TopLinkTemplate.shallowMerge(Object entity)
|
Uses of DataAccessException in org.springframework.orm.toplink.support |
---|
Methods in org.springframework.orm.toplink.support that return DataAccessException | |
---|---|
protected DataAccessException |
TopLinkDaoSupport.convertTopLinkAccessException(oracle.toplink.exceptions.TopLinkException ex)
Convert the given TopLinkException to an appropriate exception from the org.springframework.dao hierarchy. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |