|
|||||||||||
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.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 with Spring concepts. |
org.springframework.orm.hibernate.support | Classes supporting the org.springframework.orm.hibernate package. |
org.springframework.orm.ibatis | Package providing integration of iBATIS Database Layer with Spring concepts. |
org.springframework.orm.jdo | Package providing integration of JDO 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. |
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 i.e 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 |
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.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 | |
Object |
StatementCallback.doInStatement(Statement stmt)
Gets called by JdbcTemplate.execute with an active JDBC Statement. |
Object |
ConnectionCallback.doInConnection(Connection con)
Gets called by JdbcTemplate.execute with an active JDBC Connection. |
Object |
JdbcOperations.execute(ConnectionCallback action)
Execute the action specified by the given action object within a JDBC Connection. |
Object |
JdbcOperations.execute(StatementCallback action)
Execute the action specified by the given action object within a JDBC Statement. |
void |
JdbcOperations.execute(String sql)
Issue a single SQL execute, typically a DDL statement. |
Object |
JdbcOperations.query(String sql,
ResultSetExtractor rse)
Execute a query given static SQL, reading the ResultSet with a ResultSetExtractor. |
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 |
JdbcOperations.query(String sql,
RowMapper rowMapper)
Execute a query given static SQL, mapping each row to a Java object via a RowMapper. |
List |
JdbcOperations.queryForList(String sql)
Execute a query for a result list, given static SQL. |
Object |
JdbcOperations.queryForObject(String sql,
Class requiredType)
Execute a query for a result object, given static SQL. |
long |
JdbcOperations.queryForLong(String sql)
Execute a query that results in a long value, given static SQL. |
int |
JdbcOperations.queryForInt(String sql)
Execute a query that results in an int value, given static SQL. |
int |
JdbcOperations.update(String sql)
Issue a single SQL update. |
Object |
JdbcOperations.execute(PreparedStatementCreator psc,
PreparedStatementCallback action)
Execute the action specified by the given action object within a JDBC PreparedStatement. |
Object |
JdbcOperations.execute(String sql,
PreparedStatementCallback action)
Execute the action specified by the given action object within a JDBC PreparedStatement. |
Object |
JdbcOperations.query(PreparedStatementCreator psc,
ResultSetExtractor rse)
Query using a prepared statement. |
Object |
JdbcOperations.query(String sql,
PreparedStatementSetter pss,
ResultSetExtractor rse)
Query using a prepared statement, reading the ResultSet with a ResultSetExtractor. |
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 on a per-row basis with a RowCallbackHandler (potentially implementing the ResultReader sub-interface that provides a result List). |
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 on a per-row basis with a RowCallbackHandler (potentially implementing the ResultReader sub-interface that provides a result List). |
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 sub-interface that provides a result List). |
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 |
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 |
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 |
JdbcOperations.query(PreparedStatementCreator psc,
RowMapper rowMapper)
Query using a prepared statement, mapping each row to a Java object via a RowMapper. |
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 objec via a RowMapper. |
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 |
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 |
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 |
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. |
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 |
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. |
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 |
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. |
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 |
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 |
JdbcOperations.update(PreparedStatementCreator psc)
Issue an update using a PreparedStatementCreator to provide SQL and any required parameters. |
int |
JdbcOperations.update(PreparedStatementCreator psc,
KeyHolder generatedKeyHolder)
Issue an update using a PreparedStatementCreator to provide SQL and any required parameters. |
int |
JdbcOperations.update(String sql,
PreparedStatementSetter pss)
Issue an update using a PreparedStatementSetter to set bind parameters, with given SQL. |
int |
JdbcOperations.update(String sql,
Object[] args,
int[] argTypes)
Issue an update via a prepared statement, binding the given arguments. |
int |
JdbcOperations.update(String sql,
Object[] args)
Issue an update via a prepared statement, binding the given arguments. |
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. |
Object |
JdbcOperations.execute(CallableStatementCreator csc,
CallableStatementCallback action)
Execute the action specified by the given action object within a JDBC CallableStatement. |
Object |
JdbcOperations.execute(String callString,
CallableStatementCallback action)
Execute the action specified by the given action object within a JDBC CallableStatement. |
Map |
JdbcOperations.call(CallableStatementCreator csc,
List declaredParameters)
Execute a SQL call using a CallableStatementCreator to provide SQL and any required parameters. |
Object |
JdbcTemplate.execute(ConnectionCallback action)
|
Object |
JdbcTemplate.execute(StatementCallback action)
|
void |
JdbcTemplate.execute(String sql)
|
Object |
JdbcTemplate.query(String sql,
ResultSetExtractor rse)
|
List |
JdbcTemplate.query(String sql,
RowCallbackHandler rch)
|
List |
JdbcTemplate.query(String sql,
RowMapper rowMapper)
|
List |
JdbcTemplate.queryForList(String sql)
|
Object |
JdbcTemplate.queryForObject(String sql,
Class requiredType)
|
long |
JdbcTemplate.queryForLong(String sql)
|
int |
JdbcTemplate.queryForInt(String sql)
|
int |
JdbcTemplate.update(String sql)
|
Object |
JdbcTemplate.execute(PreparedStatementCreator psc,
PreparedStatementCallback action)
|
Object |
JdbcTemplate.execute(String sql,
PreparedStatementCallback action)
|
protected Object |
JdbcTemplate.query(PreparedStatementCreator psc,
PreparedStatementSetter pss,
ResultSetExtractor rse)
Query using a prepared statement, allowing for a PreparedStatementCreator and a PreparedStatementSetter. |
Object |
JdbcTemplate.query(PreparedStatementCreator psc,
ResultSetExtractor rse)
|
Object |
JdbcTemplate.query(String sql,
PreparedStatementSetter pss,
ResultSetExtractor rse)
|
Object |
JdbcTemplate.query(String sql,
Object[] args,
int[] argTypes,
ResultSetExtractor rse)
|
Object |
JdbcTemplate.query(String sql,
Object[] args,
ResultSetExtractor rse)
|
List |
JdbcTemplate.query(PreparedStatementCreator psc,
RowCallbackHandler rch)
|
List |
JdbcTemplate.query(String sql,
PreparedStatementSetter pss,
RowCallbackHandler rch)
|
List |
JdbcTemplate.query(String sql,
Object[] args,
int[] argTypes,
RowCallbackHandler rch)
|
List |
JdbcTemplate.query(String sql,
Object[] args,
RowCallbackHandler rch)
|
List |
JdbcTemplate.query(PreparedStatementCreator psc,
RowMapper rowMapper)
|
List |
JdbcTemplate.query(String sql,
PreparedStatementSetter pss,
RowMapper rowMapper)
|
List |
JdbcTemplate.query(String sql,
Object[] args,
int[] argTypes,
RowMapper rowMapper)
|
List |
JdbcTemplate.query(String sql,
Object[] args,
RowMapper rowMapper)
|
List |
JdbcTemplate.queryForList(String sql,
Object[] args,
int[] argTypes)
|
List |
JdbcTemplate.queryForList(String sql,
Object[] args)
|
Object |
JdbcTemplate.queryForObject(String sql,
Object[] args,
int[] argTypes,
Class requiredType)
|
Object |
JdbcTemplate.queryForObject(String sql,
Object[] args,
Class requiredType)
|
long |
JdbcTemplate.queryForLong(String sql,
Object[] args,
int[] argTypes)
|
long |
JdbcTemplate.queryForLong(String sql,
Object[] args)
|
int |
JdbcTemplate.queryForInt(String sql,
Object[] args,
int[] argTypes)
|
int |
JdbcTemplate.queryForInt(String sql,
Object[] args)
|
protected int |
JdbcTemplate.update(PreparedStatementCreator psc,
PreparedStatementSetter pss)
|
int |
JdbcTemplate.update(PreparedStatementCreator psc)
|
int |
JdbcTemplate.update(PreparedStatementCreator psc,
KeyHolder generatedKeyHolder)
|
int |
JdbcTemplate.update(String sql,
PreparedStatementSetter pss)
|
int |
JdbcTemplate.update(String sql,
Object[] args,
int[] argTypes)
|
int |
JdbcTemplate.update(String sql,
Object[] args)
|
int[] |
JdbcTemplate.batchUpdate(String sql,
BatchPreparedStatementSetter pss)
|
Object |
JdbcTemplate.execute(CallableStatementCreator csc,
CallableStatementCallback action)
|
Object |
JdbcTemplate.execute(String callString,
CallableStatementCallback action)
|
Map |
JdbcTemplate.call(CallableStatementCreator csc,
List declaredParameters)
|
Object |
ResultSetExtractor.extractData(ResultSet rs)
Implementations must implement this method to process all rows in the ResultSet. |
Object |
PreparedStatementCallback.doInPreparedStatement(PreparedStatement ps)
Gets called by JdbcTemplate.execute with an active JDBC PreparedStatement. |
Object |
CallableStatementCallback.doInCallableStatement(CallableStatement cs)
Gets called by JdbcTemplate.execute with an active JDBC CallableStatement. |
Uses of DataAccessException in org.springframework.jdbc.core.support |
Methods in org.springframework.jdbc.core.support that throw DataAccessException | |
Object |
AbstractLobStreamingResultSetExtractor.extractData(ResultSet rs)
Delegates to handleNoRowFound, handleMultipleRowsFound and streamData, according to the ResultSet state. |
protected void |
AbstractLobStreamingResultSetExtractor.handleNoRowFound()
Handle the case where the ResultSet does not contain a row. |
protected void |
AbstractLobStreamingResultSetExtractor.handleMultipleRowsFound()
Handle the case where the ResultSet contains multiple rows. |
protected abstract void |
AbstractLobStreamingResultSetExtractor.streamData(ResultSet rs)
Stream LOB content from the given ResultSet to some OutputStream. |
Object |
AbstractLobCreatingPreparedStatementCallback.doInPreparedStatement(PreparedStatement ps)
|
protected abstract void |
AbstractLobCreatingPreparedStatementCallback.setValues(PreparedStatement ps,
LobCreator lobCreator)
Set values on the given PreparedStatement, using the given LobCreator for BLOB/CLOB arguments. |
Uses of DataAccessException in org.springframework.jdbc.object |
Methods in org.springframework.jdbc.object that throw DataAccessException | |
List |
SqlQuery.execute(Object[] parameters,
Map context)
Central execution method. |
List |
SqlQuery.execute(Object[] parameters)
Convenient method to execute without context. |
List |
SqlQuery.execute(Map context)
Convenient method to execute without parameters. |
List |
SqlQuery.execute()
Convenient method to execute without parameters nor context. |
List |
SqlQuery.execute(int p1,
Map context)
Convenient method to execute with a single int parameter and context. |
List |
SqlQuery.execute(int p1)
Convenient method to execute with a single int parameter. |
List |
SqlQuery.execute(int p1,
int p2,
Map context)
Convenient method to execute with two int parameters and context. |
List |
SqlQuery.execute(int p1,
int p2)
Convenient method to execute with two int parameters. |
List |
SqlQuery.execute(long p1,
Map context)
Convenient method to execute with a single long parameter and context. |
List |
SqlQuery.execute(long p1)
Convenient method to execute with a single long parameter. |
List |
SqlQuery.execute(String p1,
Map context)
Convenient method to execute with a single String parameter and context. |
List |
SqlQuery.execute(String p1)
Convenient method to execute with a single String parameter. |
Object |
SqlQuery.findObject(Object[] parameters,
Map context)
Generic findObject method, used by all other findObject() methods. |
Object |
SqlQuery.findObject(Object[] parameters)
Convenient method to find a single object without 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(int p1)
Convenient method to find a single object given a single int parameter. |
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,
int p2)
Convenient method to find a single object given two int parameters. |
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(long p1)
Convenient method to find a single object given a single long parameter. |
Object |
SqlQuery.findObject(String p1,
Map context)
Convenient method to find a single object given a single String parameter and a context. |
Object |
SqlQuery.findObject(String p1)
Convenient method to find a single object given a single String parameter. |
Map |
StoredProcedure.execute(Map inParams)
Execute the stored procedure. |
Map |
StoredProcedure.execute(ParameterMapper inParamMapper)
Execute the stored procedure. |
int |
SqlUpdate.update(Object[] args)
Generic method to execute the update given arguments. |
int |
SqlUpdate.update(Object[] args,
KeyHolder generatedKeyHolder)
Method to execute the update given arguments and retrieve the generated keys using a KeyHolder. |
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(String p)
Convenient method to execute an update given one String arg. |
int |
SqlUpdate.update(String p1,
String p2)
Convenient method to execute an update given two String args. |
int |
BatchSqlUpdate.update(Object[] args)
Overridden version of update that adds the given statement
parameters to the queue rather than executing them immediately.
|
Uses of DataAccessException in org.springframework.jdbc.support |
Methods in org.springframework.jdbc.support that return DataAccessException | |
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. |
DataAccessException |
SQLErrorCodeSQLExceptionTranslator.translate(String task,
String sql,
SQLException sqlEx)
|
protected DataAccessException |
SQLErrorCodeSQLExceptionTranslator.customTranslate(String task,
String sql,
SQLException sqlEx)
Subclasses can override this method to attempt a custom mapping from SQLException to DataAccessException. |
protected DataAccessException |
SQLErrorCodeSQLExceptionTranslator.createCustomException(String task,
String sql,
SQLException sqlEx,
Class exceptionClass)
Create a custom DataAccessException, based on a given exception class from a CustomSQLErrorCodesTranslation definition. |
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()
|
int |
DataFieldMaxValueIncrementer.nextIntValue()
Increments data store field's max value as int. |
long |
DataFieldMaxValueIncrementer.nextLongValue()
Increments data store field's max value as long. |
String |
DataFieldMaxValueIncrementer.nextStringValue()
Increments data store field's max value as String. |
int |
AbstractDataFieldMaxValueIncrementer.nextIntValue()
|
long |
AbstractDataFieldMaxValueIncrementer.nextLongValue()
|
String |
AbstractDataFieldMaxValueIncrementer.nextStringValue()
|
protected long |
AbstractSequenceMaxValueIncrementer.getNextKey()
|
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(HibernateException ex)
Convert the given HibernateException to an appropriate exception from the org.springframework.dao hierarchy. |
protected DataAccessException |
HibernateTransactionManager.convertHibernateAccessException(HibernateException ex)
Convert the given HibernateException to an appropriate exception from the org.springframework.dao hierarchy. |
protected DataAccessException |
HibernateTransactionManager.convertJdbcAccessException(SQLException ex)
Convert the given SQLException to an appropriate exception from the org.springframework.dao hierarchy. |
DataAccessException |
HibernateAccessor.convertHibernateAccessException(HibernateException ex)
Convert the given HibernateException 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 |
LocalSessionFactoryBean.dropDatabaseSchema()
Execute schema drop script, determined by the Configuration object used for creating the SessionFactory. |
void |
LocalSessionFactoryBean.createDatabaseSchema()
Execute schema creation script, determined by the Configuration object used for creating the SessionFactory. |
Object |
HibernateTemplate.execute(HibernateCallback action)
|
List |
HibernateTemplate.executeFind(HibernateCallback action)
|
Object |
HibernateTemplate.execute(HibernateCallback action,
boolean exposeNativeSession)
Execute the action specified by the given action object within a Session. |
Object |
HibernateTemplate.get(Class entityClass,
Serializable id)
|
Object |
HibernateTemplate.get(Class entityClass,
Serializable id,
LockMode lockMode)
|
Object |
HibernateTemplate.load(Class entityClass,
Serializable id)
|
Object |
HibernateTemplate.load(Class entityClass,
Serializable id,
LockMode lockMode)
|
List |
HibernateTemplate.loadAll(Class entityClass)
|
void |
HibernateTemplate.load(Object entity,
Serializable id)
|
void |
HibernateTemplate.refresh(Object entity)
|
void |
HibernateTemplate.refresh(Object entity,
LockMode lockMode)
|
boolean |
HibernateTemplate.contains(Object entity)
|
void |
HibernateTemplate.evict(Object entity)
|
void |
HibernateTemplate.initialize(Object proxy)
|
void |
HibernateTemplate.lock(Object entity,
LockMode lockMode)
|
Serializable |
HibernateTemplate.save(Object entity)
|
void |
HibernateTemplate.save(Object entity,
Serializable id)
|
void |
HibernateTemplate.update(Object entity)
|
void |
HibernateTemplate.update(Object entity,
LockMode lockMode)
|
void |
HibernateTemplate.saveOrUpdate(Object entity)
|
void |
HibernateTemplate.saveOrUpdateAll(Collection entities)
|
Object |
HibernateTemplate.saveOrUpdateCopy(Object entity)
|
void |
HibernateTemplate.delete(Object entity)
|
void |
HibernateTemplate.delete(Object entity,
LockMode lockMode)
|
void |
HibernateTemplate.deleteAll(Collection entities)
|
void |
HibernateTemplate.flush()
|
void |
HibernateTemplate.clear()
|
List |
HibernateTemplate.find(String queryString)
|
List |
HibernateTemplate.find(String queryString,
Object value)
|
List |
HibernateTemplate.find(String queryString,
Object value,
Type type)
|
List |
HibernateTemplate.find(String queryString,
Object[] values)
|
List |
HibernateTemplate.find(String queryString,
Object[] values,
Type[] types)
|
List |
HibernateTemplate.findByNamedParam(String queryString,
String paramName,
Object value)
|
List |
HibernateTemplate.findByNamedParam(String queryString,
String paramName,
Object value,
Type type)
|
List |
HibernateTemplate.findByNamedParam(String queryString,
String[] paramNames,
Object[] values)
|
List |
HibernateTemplate.findByNamedParam(String queryString,
String[] paramNames,
Object[] values,
Type[] types)
|
List |
HibernateTemplate.findByValueBean(String queryString,
Object valueBean)
|
List |
HibernateTemplate.findByNamedQuery(String queryName)
|
List |
HibernateTemplate.findByNamedQuery(String queryName,
Object value)
|
List |
HibernateTemplate.findByNamedQuery(String queryName,
Object value,
Type type)
|
List |
HibernateTemplate.findByNamedQuery(String queryName,
Object[] values)
|
List |
HibernateTemplate.findByNamedQuery(String queryName,
Object[] values,
Type[] types)
|
List |
HibernateTemplate.findByNamedQuery(String queryName,
String paramName,
Object value)
Deprecated. in favor of findByNamedQueryAndNamedParam, to avoid parameter overloading ambiguities |
List |
HibernateTemplate.findByNamedQuery(String queryName,
String paramName,
Object value,
Type type)
Deprecated. in favor of findByNamedQueryAndNamedParam, to avoid parameter overloading ambiguities |
List |
HibernateTemplate.findByNamedQuery(String queryName,
String[] paramNames,
Object[] values)
Deprecated. in favor of findByNamedQueryAndNamedParam, to avoid parameter overloading ambiguities |
List |
HibernateTemplate.findByNamedQuery(String queryName,
String[] paramNames,
Object[] values,
Type[] types)
Deprecated. in favor of findByNamedQueryAndNamedParam, to avoid parameter overloading ambiguities |
List |
HibernateTemplate.findByNamedQueryAndNamedParam(String queryName,
String paramName,
Object value)
|
List |
HibernateTemplate.findByNamedQueryAndNamedParam(String queryName,
String paramName,
Object value,
Type type)
|
List |
HibernateTemplate.findByNamedQueryAndNamedParam(String queryName,
String[] paramNames,
Object[] values)
|
List |
HibernateTemplate.findByNamedQueryAndNamedParam(String queryName,
String[] paramNames,
Object[] values,
Type[] types)
|
List |
HibernateTemplate.findByNamedQueryAndValueBean(String queryName,
Object valueBean)
|
Iterator |
HibernateTemplate.iterate(String queryString)
|
Iterator |
HibernateTemplate.iterate(String queryString,
Object value)
|
Iterator |
HibernateTemplate.iterate(String queryString,
Object value,
Type type)
|
Iterator |
HibernateTemplate.iterate(String queryString,
Object[] values)
|
Iterator |
HibernateTemplate.iterate(String queryString,
Object[] values,
Type[] types)
|
void |
HibernateTemplate.closeIterator(Iterator it)
|
int |
HibernateTemplate.delete(String queryString)
|
int |
HibernateTemplate.delete(String queryString,
Object value,
Type type)
|
int |
HibernateTemplate.delete(String queryString,
Object[] values,
Type[] types)
|
Object |
HibernateOperations.execute(HibernateCallback action)
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. |
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 |
HibernateOperations.get(Class entityClass,
Serializable id,
LockMode lockMode)
Return the persistent instance of the given entity class with the given identifier, or null if not found. |
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 |
HibernateOperations.load(Class entityClass,
Serializable id,
LockMode lockMode)
Return the persistent instance of the given entity class with the given identifier, throwing an exception if not found. |
List |
HibernateOperations.loadAll(Class entityClass)
Return all persistent instances of the given entity class. |
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 |
HibernateOperations.refresh(Object entity)
Re-read the state of the given persistent instance. |
void |
HibernateOperations.refresh(Object entity,
LockMode lockMode)
Re-read the state of the given persistent instance. |
boolean |
HibernateOperations.contains(Object entity)
Check whether the given object is in the Session cache. |
void |
HibernateOperations.evict(Object entity)
Remove the given object from the Session cache. |
void |
HibernateOperations.initialize(Object proxy)
Force initialization of a Hibernate proxy or persistent collection. |
void |
HibernateOperations.lock(Object entity,
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). |
Serializable |
HibernateOperations.save(Object entity)
Persist the given transient instance. |
void |
HibernateOperations.save(Object entity,
Serializable id)
Persist the given transient instance with the given identifier. |
void |
HibernateOperations.update(Object entity)
Update the given persistent instance. |
void |
HibernateOperations.update(Object entity,
LockMode lockMode)
Update the given persistent instance. |
void |
HibernateOperations.saveOrUpdate(Object entity)
Save or update the given persistent instance, according to its id (matching the configured "unsaved-value"?). |
void |
HibernateOperations.saveOrUpdateAll(Collection entities)
Save or update all given persistent instances, according to its id (matching the configured "unsaved-value"?). |
Object |
HibernateOperations.saveOrUpdateCopy(Object entity)
Save or update the contents of given persistent object, according to its id (matching the configured "unsaved-value"?). |
void |
HibernateOperations.delete(Object entity)
Delete the given persistent instance. |
void |
HibernateOperations.delete(Object entity,
LockMode lockMode)
Delete the given persistent instance. |
void |
HibernateOperations.deleteAll(Collection entities)
Delete all given persistent instances. |
void |
HibernateOperations.flush()
Flush all pending saves, updates and deletes to the database. |
void |
HibernateOperations.clear()
Remove all objects from the Session cache, and cancel all pending saves, updates and deletes. |
List |
HibernateOperations.find(String queryString)
Execute a query for persistent instances. |
List |
HibernateOperations.find(String queryString,
Object value)
Execute a query for persistent instances, binding one value to a "?" |
List |
HibernateOperations.find(String queryString,
Object value,
Type type)
Execute a query for persistent instances, binding one value to a "?" |
List |
HibernateOperations.find(String queryString,
Object[] values)
Execute a query for persistent instances, binding a number of values to "?" |
List |
HibernateOperations.find(String queryString,
Object[] values,
Type[] types)
Execute a query for persistent instances, binding a number of values to "?" |
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 |
HibernateOperations.findByNamedParam(String queryName,
String paramName,
Object value,
Type type)
Execute a query for persistent instances, binding one value to a ":" named parameter in the query string. |
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 |
HibernateOperations.findByNamedParam(String queryString,
String[] paramNames,
Object[] values,
Type[] types)
Execute a query for persistent instances, binding a number of values to ":" named parameters in the query string. |
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 |
HibernateOperations.findByNamedQuery(String queryName)
Execute a named query for persistent instances. |
List |
HibernateOperations.findByNamedQuery(String queryName,
Object value)
Execute a named query for persistent instances, binding one value to a "?" |
List |
HibernateOperations.findByNamedQuery(String queryName,
Object value,
Type type)
Execute a named query for persistent instances, binding one value to a "?" |
List |
HibernateOperations.findByNamedQuery(String queryName,
Object[] values)
Execute a named query for persistent instances, binding a number of values to "?" |
List |
HibernateOperations.findByNamedQuery(String queryName,
Object[] values,
Type[] types)
Execute a named query for persistent instances, binding a number of values to "?" |
List |
HibernateOperations.findByNamedQuery(String queryName,
String paramName,
Object value)
Deprecated. in favor of findByNamedQueryAndNamedParam, to avoid parameter overloading ambiguities |
List |
HibernateOperations.findByNamedQuery(String queryName,
String paramName,
Object value,
Type type)
Deprecated. in favor of findByNamedQueryAndNamedParam, to avoid parameter overloading ambiguities |
List |
HibernateOperations.findByNamedQuery(String queryName,
String[] paramNames,
Object[] values)
Deprecated. in favor of findByNamedQueryAndNamedParam, to avoid parameter overloading ambiguities |
List |
HibernateOperations.findByNamedQuery(String queryName,
String[] paramNames,
Object[] values,
Type[] types)
Deprecated. in favor of findByNamedQueryAndNamedParam, to avoid parameter overloading ambiguities |
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 |
HibernateOperations.findByNamedQueryAndNamedParam(String queryName,
String paramName,
Object value,
Type type)
Execute a named query for persistent instances, binding one value to a ":" named parameter in the query string. |
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 |
HibernateOperations.findByNamedQueryAndNamedParam(String queryName,
String[] paramNames,
Object[] values,
Type[] types)
Execute a named query for persistent instances, binding a number of values to ":" named parameters in the query string. |
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. |
Iterator |
HibernateOperations.iterate(String queryString)
Execute a query for persistent instances. |
Iterator |
HibernateOperations.iterate(String queryString,
Object value)
Execute a query for persistent instances, binding one value to a "?" |
Iterator |
HibernateOperations.iterate(String queryString,
Object value,
Type type)
Execute a query for persistent instances, binding one value to a "?" |
Iterator |
HibernateOperations.iterate(String queryString,
Object[] values)
Execute a query for persistent instances, binding a number of values to "?" |
Iterator |
HibernateOperations.iterate(String queryString,
Object[] values,
Type[] types)
Execute a query for persistent instances, binding a number of values to "?" |
void |
HibernateOperations.closeIterator(Iterator it)
Close an Iterator created by iterate operations immediately, instead of waiting until the session is closed or disconnected. |
int |
HibernateOperations.delete(String queryString)
Delete all objects returned by the query. |
int |
HibernateOperations.delete(String queryString,
Object value,
Type type)
Delete all objects returned by the query. |
int |
HibernateOperations.delete(String queryString,
Object[] values,
Type[] types)
Delete all objects returned by the query. |
Uses of DataAccessException in org.springframework.orm.hibernate.support |
Methods in org.springframework.orm.hibernate.support that return DataAccessException | |
protected DataAccessException |
HibernateDaoSupport.convertHibernateAccessException(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 | |
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. |
void |
OpenSessionInViewInterceptor.postHandle(HttpServletRequest request,
HttpServletResponse response,
Object handler,
ModelAndView modelAndView)
Flush the Hibernate Session before view rendering, if necessary. |
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), respectively process deferred close for all sessions that have been opened during the current request (in deferred close mode). |
Uses of DataAccessException in org.springframework.orm.ibatis |
Methods in org.springframework.orm.ibatis that throw DataAccessException | |
Object |
SqlMapTemplate.execute(String statementName,
SqlMapCallback action)
Execute the given data access action on the given iBATIS mapped statement. |
List |
SqlMapTemplate.executeWithListResult(String statementName,
SqlMapCallback action)
Execute the given data access action on the given mapped statement, expecting a List result. |
Map |
SqlMapTemplate.executeWithMapResult(String statementName,
SqlMapCallback action)
Execute the given data access action on the given mapped statement, expecting a Map result. |
Object |
SqlMapTemplate.executeQueryForObject(String statementName,
Object parameterObject)
|
Object |
SqlMapTemplate.executeQueryForObject(String statementName,
Object parameterObject,
Object resultObject)
|
List |
SqlMapTemplate.executeQueryForList(String statementName,
Object parameterObject)
|
List |
SqlMapTemplate.executeQueryForList(String statementName,
Object parameterObject,
int skipResults,
int maxResults)
|
Map |
SqlMapTemplate.executeQueryForMap(String statementName,
Object parameterObject,
String keyProperty)
|
Map |
SqlMapTemplate.executeQueryForMap(String statementName,
Object parameterObject,
String keyProperty,
String valueProperty)
|
void |
SqlMapTemplate.executeQueryWithRowHandler(String statementName,
Object parameterObject,
com.ibatis.db.sqlmap.RowHandler rowHandler)
|
int |
SqlMapTemplate.executeUpdate(String statementName,
Object parameterObject)
|
Object |
SqlMapOperations.executeQueryForObject(String statementName,
Object parameterObject)
|
Object |
SqlMapOperations.executeQueryForObject(String statementName,
Object parameterObject,
Object resultObject)
|
List |
SqlMapOperations.executeQueryForList(String statementName,
Object parameterObject)
|
List |
SqlMapOperations.executeQueryForList(String statementName,
Object parameterObject,
int skipResults,
int maxResults)
|
Map |
SqlMapOperations.executeQueryForMap(String statementName,
Object parameterObject,
String keyProperty)
|
Map |
SqlMapOperations.executeQueryForMap(String statementName,
Object parameterObject,
String keyProperty,
String valueProperty)
|
void |
SqlMapOperations.executeQueryWithRowHandler(String statementName,
Object parameterObject,
com.ibatis.db.sqlmap.RowHandler rowHandler)
|
int |
SqlMapOperations.executeUpdate(String statementName,
Object parameterObject)
|
Object |
SqlMapClientTemplate.execute(SqlMapClientCallback action)
Execute the given data access action on a SqlMapSession. |
List |
SqlMapClientTemplate.executeWithListResult(SqlMapClientCallback action)
Execute the given data access action on a SqlMapSession, expecting a List result. |
Map |
SqlMapClientTemplate.executeWithMapResult(SqlMapClientCallback action)
Execute the given data access action on a SqlMapSession, expecting a Map result. |
Object |
SqlMapClientTemplate.queryForObject(String statementName,
Object parameterObject)
|
Object |
SqlMapClientTemplate.queryForObject(String statementName,
Object parameterObject,
Object resultObject)
|
List |
SqlMapClientTemplate.queryForList(String statementName,
Object parameterObject)
|
List |
SqlMapClientTemplate.queryForList(String statementName,
Object parameterObject,
int skipResults,
int maxResults)
|
void |
SqlMapClientTemplate.queryWithRowHandler(String statementName,
Object parameterObject,
RowHandler rowHandler)
|
PaginatedList |
SqlMapClientTemplate.queryForPaginatedList(String statementName,
Object parameterObject,
int pageSize)
|
Map |
SqlMapClientTemplate.queryForMap(String statementName,
Object parameterObject,
String keyProperty)
|
Map |
SqlMapClientTemplate.queryForMap(String statementName,
Object parameterObject,
String keyProperty,
String valueProperty)
|
Object |
SqlMapClientTemplate.insert(String statementName,
Object parameterObject)
|
int |
SqlMapClientTemplate.update(String statementName,
Object parameterObject)
|
int |
SqlMapClientTemplate.delete(String statementName,
Object parameterObject)
|
void |
SqlMapClientTemplate.update(String statementName,
Object parameterObject,
int requiredRowsAffected)
|
void |
SqlMapClientTemplate.delete(String statementName,
Object parameterObject,
int requiredRowsAffected)
|
Object |
SqlMapClientOperations.queryForObject(String statementName,
Object parameterObject)
|
Object |
SqlMapClientOperations.queryForObject(String statementName,
Object parameterObject,
Object resultObject)
|
List |
SqlMapClientOperations.queryForList(String statementName,
Object parameterObject)
|
List |
SqlMapClientOperations.queryForList(String statementName,
Object parameterObject,
int skipResults,
int maxResults)
|
void |
SqlMapClientOperations.queryWithRowHandler(String statementName,
Object parameterObject,
RowHandler rowHandler)
|
PaginatedList |
SqlMapClientOperations.queryForPaginatedList(String statementName,
Object parameterObject,
int pageSize)
|
Map |
SqlMapClientOperations.queryForMap(String statementName,
Object parameterObject,
String keyProperty)
|
Map |
SqlMapClientOperations.queryForMap(String statementName,
Object parameterObject,
String keyProperty,
String valueProperty)
|
Object |
SqlMapClientOperations.insert(String statementName,
Object parameterObject)
|
int |
SqlMapClientOperations.update(String statementName,
Object parameterObject)
|
int |
SqlMapClientOperations.delete(String statementName,
Object parameterObject)
|
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. |
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. |
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 |
DefaultJdoDialect.translateException(javax.jdo.JDOException ex)
This implementation delegates to PersistenceManagerFactoryUtils. |
DataAccessException |
JdoDialect.translateException(javax.jdo.JDOException ex)
Translate the given JDOException to a corresponding exception from Spring's generic DataAccessException hierarchy. |
Methods in org.springframework.orm.jdo that throw DataAccessException | |
Object |
JdoTemplate.execute(JdoCallback action)
|
Collection |
JdoTemplate.executeFind(JdoCallback action)
|
Object |
JdoTemplate.execute(JdoCallback action,
boolean exposeNativePersistenceManager)
Execute the action specified by the given action object within a PersistenceManager. |
Object |
JdoTemplate.getObjectById(Serializable objectId)
|
Object |
JdoTemplate.getObjectById(Class entityClass,
Serializable idValue)
|
void |
JdoTemplate.evict(Object entity)
|
void |
JdoTemplate.evictAll()
|
void |
JdoTemplate.refresh(Object entity)
|
void |
JdoTemplate.refreshAll()
|
void |
JdoTemplate.makePersistent(Object entity)
|
void |
JdoTemplate.deletePersistent(Object entity)
|
void |
JdoTemplate.deletePersistentAll(Collection entities)
|
void |
JdoTemplate.flush()
|
Collection |
JdoTemplate.find(Class entityClass)
|
Collection |
JdoTemplate.find(Class entityClass,
String filter)
|
Collection |
JdoTemplate.find(Class entityClass,
String filter,
String ordering)
|
Collection |
JdoTemplate.find(Class entityClass,
String filter,
String parameters,
Object[] values)
|
Collection |
JdoTemplate.find(Class entityClass,
String filter,
String parameters,
Object[] values,
String ordering)
|
Collection |
JdoTemplate.find(Class entityClass,
String filter,
String parameters,
Map values)
|
Collection |
JdoTemplate.find(Class entityClass,
String filter,
String parameters,
Map values,
String ordering)
|
Object |
JdoOperations.execute(JdoCallback action)
Execute the action specified by the given action object within a PersistenceManager. |
Collection |
JdoOperations.executeFind(JdoCallback action)
Execute the specified action assuming that the result object is a Collection. |
Object |
JdoOperations.getObjectById(Serializable objectId)
Return the persistent instance with the given JDO object id, throwing an exception if not found. |
Object |
JdoOperations.getObjectById(Class entityClass,
Serializable idValue)
Return the persistent instance of the given entity class with the given id value, throwing an exception if not found. |
void |
JdoOperations.evict(Object entity)
Remove the given object from the PersistenceManager cache. |
void |
JdoOperations.evictAll()
Remove all objects from the PersistenceManager cache. |
void |
JdoOperations.refresh(Object entity)
Re-read the state of the given persistent instance. |
void |
JdoOperations.refreshAll()
Re-read the state of all persistent instances. |
void |
JdoOperations.makePersistent(Object entity)
Make the given transient instance persistent. |
void |
JdoOperations.deletePersistent(Object entity)
Delete the given persistent instance. |
void |
JdoOperations.deletePersistentAll(Collection entities)
Delete all given persistent instances. |
void |
JdoOperations.flush()
Flush all transactional modifications to the database. |
Collection |
JdoOperations.find(Class entityClass)
Return all persistent instances of the given class. |
Collection |
JdoOperations.find(Class entityClass,
String filter)
Return all persistent instances of the given class that match the given JDOQL filter. |
Collection |
JdoOperations.find(Class entityClass,
String filter,
String ordering)
Return all persistent instances of the given class that match the given JDOQL filter, with the given result ordering. |
Collection |
JdoOperations.find(Class entityClass,
String filter,
String parameters,
Object[] values)
Return all persistent instances of the given class that match the given JDOQL filter, using the given parameter declarations and parameter values. |
Collection |
JdoOperations.find(Class entityClass,
String filter,
String parameters,
Object[] values,
String ordering)
Return 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 |
JdoOperations.find(Class entityClass,
String filter,
String parameters,
Map values)
Return all persistent instances of the given class that match the given JDOQL filter, using the given parameter declarations and parameter values. |
Collection |
JdoOperations.find(Class entityClass,
String filter,
String parameters,
Map values,
String ordering)
Return 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. |
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 | |
boolean |
OpenPersistenceManagerInViewInterceptor.preHandle(HttpServletRequest request,
HttpServletResponse response,
Object handler)
|
void |
OpenPersistenceManagerInViewInterceptor.afterCompletion(HttpServletRequest request,
HttpServletResponse response,
Object handler,
Exception ex)
|
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 | |
DataAccessException |
OjbAccessor.convertOjbAccessException(org.apache.ojb.broker.PersistenceBrokerException ex)
Convert the given PersistenceBrokerException to an appropriate exception from the org.springframework.dao hierarchy. |
protected DataAccessException |
OjbAccessor.convertJdbcAccessException(SQLException ex)
Convert the given SQLException to an appropriate exception from the org.springframework.dao hierarchy. |
Methods in org.springframework.orm.ojb that throw DataAccessException | |
Object |
PersistenceBrokerTemplate.execute(PersistenceBrokerCallback action)
|
Collection |
PersistenceBrokerTemplate.executeFind(PersistenceBrokerCallback action)
|
Object |
PersistenceBrokerTemplate.getObjectById(Class entityClass,
Object idValue)
|
Object |
PersistenceBrokerTemplate.getObjectByQuery(org.apache.ojb.broker.query.Query query)
|
Collection |
PersistenceBrokerTemplate.getCollectionByQuery(org.apache.ojb.broker.query.Query query)
|
Iterator |
PersistenceBrokerTemplate.getIteratorByQuery(org.apache.ojb.broker.query.Query query)
|
int |
PersistenceBrokerTemplate.getCount(org.apache.ojb.broker.query.Query query)
|
void |
PersistenceBrokerTemplate.removeFromCache(Object entityOrId)
|
void |
PersistenceBrokerTemplate.clearCache()
|
void |
PersistenceBrokerTemplate.store(Object entity)
|
void |
PersistenceBrokerTemplate.delete(Object entity)
|
void |
PersistenceBrokerTemplate.deleteByQuery(org.apache.ojb.broker.query.Query query)
|
Object |
PersistenceBrokerOperations.execute(PersistenceBrokerCallback action)
Execute the action specified by the given action object within a PersistenceBroker. |
Collection |
PersistenceBrokerOperations.executeFind(PersistenceBrokerCallback action)
Execute the specified action assuming that the result object is a Collection. |
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 |
PersistenceBrokerOperations.getObjectByQuery(org.apache.ojb.broker.query.Query query)
|
Collection |
PersistenceBrokerOperations.getCollectionByQuery(org.apache.ojb.broker.query.Query query)
|
Iterator |
PersistenceBrokerOperations.getIteratorByQuery(org.apache.ojb.broker.query.Query query)
|
Iterator |
PersistenceBrokerOperations.getReportQueryIteratorByQuery(org.apache.ojb.broker.query.Query query)
|
int |
PersistenceBrokerOperations.getCount(org.apache.ojb.broker.query.Query query)
|
void |
PersistenceBrokerOperations.removeFromCache(Object entityOrId)
|
void |
PersistenceBrokerOperations.clearCache()
|
void |
PersistenceBrokerOperations.store(Object entity)
|
void |
PersistenceBrokerOperations.delete(Object entity)
|
void |
PersistenceBrokerOperations.deleteByQuery(org.apache.ojb.broker.query.Query query)
|
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. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |