Uses of Class
org.springframework.dao.DataAccessException

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.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. 
 

Uses of DataAccessException in org.springframework.dao
 

Subclasses of DataAccessException in org.springframework.dao
 class CleanupFailureDataAccessException
          Exception thrown when we couldn't cleanup after a data access operation, but the actual operation went OK.
 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 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 CannotCloseJdbcConnectionException
          Exception thrown when we successfully executed a SQL statement, but then failed to close the JDBC connection.
 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 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
 void JdbcTemplate.execute(java.lang.String sql)
           
 java.lang.Object JdbcTemplate.query(java.lang.String sql, ResultSetExtractor rse)
           
 java.util.List JdbcTemplate.query(java.lang.String sql, RowCallbackHandler rch)
           
 java.util.List JdbcTemplate.queryForList(java.lang.String sql)
           
 java.lang.Object JdbcTemplate.queryForObject(java.lang.String sql, java.lang.Class requiredType)
           
 long JdbcTemplate.queryForLong(java.lang.String sql)
           
 int JdbcTemplate.queryForInt(java.lang.String sql)
           
 int JdbcTemplate.update(java.lang.String sql)
           
protected  java.lang.Object JdbcTemplate.query(PreparedStatementCreator psc, PreparedStatementSetter pss, ResultSetExtractor rse)
          Query using a prepared statement, allowing for a PreparedStatementCreator and a PreparedStatementSetter.
 java.lang.Object JdbcTemplate.query(java.lang.String sql, PreparedStatementSetter pss, ResultSetExtractor rse)
           
 java.util.List JdbcTemplate.query(PreparedStatementCreator psc, RowCallbackHandler rch)
           
 java.util.List JdbcTemplate.query(java.lang.String sql, PreparedStatementSetter pss, RowCallbackHandler rch)
           
 java.util.List JdbcTemplate.query(java.lang.String sql, java.lang.Object[] args, int[] argTypes, RowCallbackHandler rch)
           
 java.util.List JdbcTemplate.query(java.lang.String sql, java.lang.Object[] args, RowCallbackHandler rch)
           
 java.util.List JdbcTemplate.queryForList(java.lang.String sql, java.lang.Object[] args)
           
 java.lang.Object JdbcTemplate.queryForObject(java.lang.String sql, java.lang.Object[] args, java.lang.Class requiredType)
           
 long JdbcTemplate.queryForLong(java.lang.String sql, java.lang.Object[] args)
           
 int JdbcTemplate.queryForInt(java.lang.String sql, java.lang.Object[] args)
           
protected  int JdbcTemplate.update(PreparedStatementCreator psc, PreparedStatementSetter pss)
           
 int JdbcTemplate.update(PreparedStatementCreator psc)
           
 int JdbcTemplate.update(java.lang.String sql, PreparedStatementSetter pss)
           
 int JdbcTemplate.update(java.lang.String sql, java.lang.Object[] args, int[] argTypes)
           
 int JdbcTemplate.update(java.lang.String sql, java.lang.Object[] args)
           
 int[] JdbcTemplate.batchUpdate(java.lang.String sql, BatchPreparedStatementSetter pss)
           
 java.util.Map JdbcTemplate.call(CallableStatementCreator csc, java.util.List declaredParameters)
           
 java.lang.Object JdbcOperations.execute(StatementCallback action)
          Execute the action specified by the given action object within a JDBC Statement.
 void JdbcOperations.execute(java.lang.String sql)
          Issue a single SQL execute, typically a DDL statement.
 java.lang.Object JdbcOperations.query(java.lang.String sql, ResultSetExtractor rse)
          Execute a query given static SQL, reading the ResultSet with a ResultSetExtractor.
 java.util.List JdbcOperations.query(java.lang.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).
 java.util.List JdbcOperations.queryForList(java.lang.String sql)
          Execute a query for a result list, given static SQL.
 java.lang.Object JdbcOperations.queryForObject(java.lang.String sql, java.lang.Class requiredType)
          Execute a query for a result object, given static SQL.
 long JdbcOperations.queryForLong(java.lang.String sql)
          Execute a query that results in a long value, given static SQL.
 int JdbcOperations.queryForInt(java.lang.String sql)
          Execute a query that results in an int value, given static SQL.
 int JdbcOperations.update(java.lang.String sql)
          Issue a single SQL update.
 java.util.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).
 java.util.List JdbcOperations.query(java.lang.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).
 java.util.List JdbcOperations.query(java.lang.String sql, java.lang.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).
 java.util.List JdbcOperations.query(java.lang.String sql, java.lang.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).
 java.util.List JdbcOperations.queryForList(java.lang.String sql, java.lang.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.
 java.lang.Object JdbcOperations.queryForObject(java.lang.String sql, java.lang.Object[] args, java.lang.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(java.lang.String sql, java.lang.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(java.lang.String sql, java.lang.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(java.lang.String sql, PreparedStatementSetter pss)
          Issue an update using a PreparedStatementSetter to set bind parameters, with given SQL.
 int JdbcOperations.update(java.lang.String sql, java.lang.Object[] args, int[] argTypes)
          Issue an update via a prepared statement, binding the given arguments.
 int JdbcOperations.update(java.lang.String sql, java.lang.Object[] args)
          Issue an update via a prepared statement, binding the given arguments.
 int[] JdbcOperations.batchUpdate(java.lang.String sql, BatchPreparedStatementSetter pss)
          Issue multiple updates on a single PreparedStatement, using JDBC 2.0 batch updates and a BatchPreparedStatementSetter to set values.
 java.util.Map JdbcOperations.call(CallableStatementCreator csc, java.util.List declaredParameters)
          Execute a SQL call using a CallableStatementCreator to provide SQL and any required parameters.
 

Uses of DataAccessException in org.springframework.jdbc.object
 

Methods in org.springframework.jdbc.object that throw DataAccessException
 java.util.List SqlQuery.execute(java.lang.Object[] parameters, java.util.Map context)
          All execution goes through this method
 java.util.List SqlQuery.execute(java.lang.Object[] parameters)
          Convenient method to execute without context.
 java.util.List SqlQuery.execute(java.util.Map context)
          Convenient method to execute without parameters.
 java.util.List SqlQuery.execute()
          Convenient method to execute without parameters nor context.
 java.util.List SqlQuery.execute(int p1, java.util.Map context)
          Convenient method to execute with a single int parameter and context.
 java.util.List SqlQuery.execute(int p1)
          Convenient method to execute with a single int parameter.
 java.util.List SqlQuery.execute(int p1, int p2, java.util.Map context)
          Convenient method to execute with two int parameters and context.
 java.util.List SqlQuery.execute(int p1, int p2)
          Convenient method to execute with two int parameters.
 java.util.List SqlQuery.execute(long p1, java.util.Map context)
          Convenient method to execute with a single long parameter and context.
 java.util.List SqlQuery.execute(long p1)
          Convenient method to execute with a single long parameter.
 java.util.List SqlQuery.execute(java.lang.String p1, java.util.Map context)
          Convenient method to execute with a single String parameter and context.
 java.util.List SqlQuery.execute(java.lang.String p1)
          Convenient method to execute with a single String parameter.
 java.lang.Object SqlQuery.findObject(java.lang.Object[] parameters, java.util.Map context)
          Generic findObject method, used by all other findObject() methods.
 java.lang.Object SqlQuery.findObject(java.lang.Object[] parameters)
          Convenience method to find a single object without context.
 java.lang.Object SqlQuery.findObject(int p1, java.util.Map context)
          Convenience method to find a single object given a single int parameter and a context.
 java.lang.Object SqlQuery.findObject(int p1)
          Convenience method to find a single object given a single int parameter.
 java.lang.Object SqlQuery.findObject(int p1, int p2, java.util.Map context)
          Convenience method to find a single object given two int parameters and a context.
 java.lang.Object SqlQuery.findObject(int p1, int p2)
          Convenience method to find a single object given two int parameters.
 java.lang.Object SqlQuery.findObject(java.lang.String p1, java.util.Map context)
          Convenience method to find a single object given a single String parameter and a context.
 java.lang.Object SqlQuery.findObject(java.lang.String p1)
          Convenience method to find a single object given a single String parameter.
 java.lang.Object SqlQuery.findObject(long p1, java.util.Map context)
          Convenience method to find a single object given a single long parameter and a context.
 java.lang.Object SqlQuery.findObject(long p1)
          Convenience method to find a single object given a single long parameter.
 

Uses of DataAccessException in org.springframework.jdbc.support
 

Methods in org.springframework.jdbc.support that return DataAccessException
 DataAccessException SQLStateSQLExceptionTranslator.translate(java.lang.String task, java.lang.String sql, java.sql.SQLException sqlex)
           
 DataAccessException SQLExceptionTranslator.translate(java.lang.String task, java.lang.String sql, java.sql.SQLException sqlex)
          Translate the given SQL exception into a generic data access exception.
 DataAccessException SQLErrorCodeSQLExceptionTranslator.translate(java.lang.String task, java.lang.String sql, java.sql.SQLException sqlex)
           
protected  DataAccessException SQLErrorCodeSQLExceptionTranslator.customTranslate(java.lang.String task, java.lang.String sql, java.sql.SQLException sqlex)
          Subclasses can override this method to attempt a custom mapping from SQLException to DataAccessException
 

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.
 java.lang.String DataFieldMaxValueIncrementer.nextStringValue()
          Increments data store field's max value as String.
protected  long AbstractSequenceMaxValueIncrementer.getNextKey()
           
 int AbstractDataFieldMaxValueIncrementer.nextIntValue()
           
 long AbstractDataFieldMaxValueIncrementer.nextLongValue()
           
 java.lang.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 DataAccessException, for JDBC exceptions that Hibernate rethrew.
 class HibernateObjectRetrievalFailureException
          Hibernate-specific subclass of ObjectRetrievalFailureException.
 class HibernateOptimisticLockingFailureException
          Hibernate-specific subclass of ObjectOptimisticLockingFailureException.
 class HibernateQueryException
          Exception thrown on invalid HQL query syntax.
 class HibernateSystemException
          Hibernate-specific subclass of DataAccessException, 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.
protected  DataAccessException HibernateTransactionManager.convertJdbcAccessException(java.sql.SQLException ex)
          Convert the given SQLException 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 HibernateAccessor.convertJdbcAccessException(java.sql.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.
 java.lang.Object HibernateTemplate.execute(HibernateCallback action)
           
 java.util.List HibernateTemplate.executeFind(HibernateCallback action)
           
 java.lang.Object HibernateTemplate.get(java.lang.Class entityClass, java.io.Serializable id)
           
 java.lang.Object HibernateTemplate.get(java.lang.Class entityClass, java.io.Serializable id, net.sf.hibernate.LockMode lockMode)
           
 java.lang.Object HibernateTemplate.load(java.lang.Class entityClass, java.io.Serializable id)
           
 java.lang.Object HibernateTemplate.load(java.lang.Class entityClass, java.io.Serializable id, net.sf.hibernate.LockMode lockMode)
           
 java.util.List HibernateTemplate.loadAll(java.lang.Class entityClass)
           
 void HibernateTemplate.evict(java.lang.Object entity)
           
 void HibernateTemplate.lock(java.lang.Object entity, net.sf.hibernate.LockMode lockMode)
           
 java.io.Serializable HibernateTemplate.save(java.lang.Object entity)
           
 void HibernateTemplate.save(java.lang.Object entity, java.io.Serializable id)
           
 void HibernateTemplate.saveOrUpdate(java.lang.Object entity)
           
 java.lang.Object HibernateTemplate.saveOrUpdateCopy(java.lang.Object entity)
           
 void HibernateTemplate.update(java.lang.Object entity)
           
 void HibernateTemplate.update(java.lang.Object entity, net.sf.hibernate.LockMode lockMode)
           
 void HibernateTemplate.delete(java.lang.Object entity)
           
 void HibernateTemplate.delete(java.lang.Object entity, net.sf.hibernate.LockMode lockMode)
           
 void HibernateTemplate.deleteAll(java.util.Collection entities)
           
 java.util.List HibernateTemplate.find(java.lang.String queryString)
           
 java.util.List HibernateTemplate.find(java.lang.String queryString, java.lang.Object value)
           
 java.util.List HibernateTemplate.find(java.lang.String queryString, java.lang.Object value, net.sf.hibernate.type.Type type)
           
 java.util.List HibernateTemplate.find(java.lang.String queryString, java.lang.Object[] values)
           
 java.util.List HibernateTemplate.find(java.lang.String queryString, java.lang.Object[] values, net.sf.hibernate.type.Type[] types)
           
 java.util.List HibernateTemplate.findByValueBean(java.lang.String queryString, java.lang.Object valueBean)
           
 java.util.List HibernateTemplate.findByNamedQuery(java.lang.String queryName)
           
 java.util.List HibernateTemplate.findByNamedQuery(java.lang.String queryName, java.lang.Object value)
           
 java.util.List HibernateTemplate.findByNamedQuery(java.lang.String queryName, java.lang.Object value, net.sf.hibernate.type.Type type)
           
 java.util.List HibernateTemplate.findByNamedQuery(java.lang.String queryName, java.lang.Object[] values)
           
 java.util.List HibernateTemplate.findByNamedQuery(java.lang.String queryName, java.lang.Object[] values, net.sf.hibernate.type.Type[] types)
           
 java.util.List HibernateTemplate.findByNamedQueryAndValueBean(java.lang.String queryName, java.lang.Object valueBean)
           
 java.lang.Object HibernateOperations.execute(HibernateCallback action)
          Execute the action specified by the given action object within a session.
 java.util.List HibernateOperations.executeFind(HibernateCallback action)
          Execute the specified action assuming that the result object is a List.
 java.lang.Object HibernateOperations.get(java.lang.Class entityClass, java.io.Serializable id)
          Return the persistent instance of the given entity class with the given identifier, or null if not found.
 java.lang.Object HibernateOperations.get(java.lang.Class entityClass, java.io.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.
 java.lang.Object HibernateOperations.load(java.lang.Class entityClass, java.io.Serializable id)
          Return the persistent instance of the given entity class with the given identifier, throwing an exception if not found.
 java.lang.Object HibernateOperations.load(java.lang.Class entityClass, java.io.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.
 java.util.List HibernateOperations.loadAll(java.lang.Class entityClass)
          Return all persistent instances of the given entity class.
 void HibernateOperations.evict(java.lang.Object entity)
          Remove the given object from the Session cache.
 void HibernateOperations.lock(java.lang.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).
 java.io.Serializable HibernateOperations.save(java.lang.Object entity)
          Save the given persistent instance.
 void HibernateOperations.save(java.lang.Object entity, java.io.Serializable id)
          Save the given persistent instance with the given identifier.
 void HibernateOperations.saveOrUpdate(java.lang.Object entity)
          Save respectively update the given persistent instance, according to its ID (matching the configured "unsaved-value"?).
 java.lang.Object HibernateOperations.saveOrUpdateCopy(java.lang.Object entity)
          Save respectively update the contents of given persistent object, according to its ID (matching the configured "unsaved-value"?).
 void HibernateOperations.update(java.lang.Object entity)
          Update the given persistent instance.
 void HibernateOperations.update(java.lang.Object entity, net.sf.hibernate.LockMode lockMode)
          Update the given persistent instance.
 void HibernateOperations.delete(java.lang.Object entity)
          Delete the given persistent instance.
 void HibernateOperations.delete(java.lang.Object entity, net.sf.hibernate.LockMode lockMode)
          Delete the given persistent instance.
 void HibernateOperations.deleteAll(java.util.Collection entities)
          Delete all given persistent instances.
 java.util.List HibernateOperations.find(java.lang.String queryString)
          Execute a query for persistent instances.
 java.util.List HibernateOperations.find(java.lang.String queryString, java.lang.Object value)
          Execute a query for persistent instances, binding one value to a "?" parameter in the query string.
 java.util.List HibernateOperations.find(java.lang.String queryString, java.lang.Object value, net.sf.hibernate.type.Type type)
          Execute a query for persistent instances, binding one value to a "?" parameter of the given type in the query string.
 java.util.List HibernateOperations.find(java.lang.String queryString, java.lang.Object[] values)
          Execute a query for persistent instances, binding a number of values to "?" parameters in the query string.
 java.util.List HibernateOperations.find(java.lang.String queryString, java.lang.Object[] values, net.sf.hibernate.type.Type[] types)
          Execute a query for persistent instances, binding a number of values to "?" parameters of the given types in the query string.
 java.util.List HibernateOperations.findByValueBean(java.lang.String queryString, java.lang.Object valueBean)
          Execute a query for persistent instances, binding the properties of the given bean to named parameters in the query string.
 java.util.List HibernateOperations.findByNamedQuery(java.lang.String queryName)
          Execute a named query for persistent instances.
 java.util.List HibernateOperations.findByNamedQuery(java.lang.String queryName, java.lang.Object value)
          Execute a named query for persistent instances, binding one value to a "?" parameter in the query string.
 java.util.List HibernateOperations.findByNamedQuery(java.lang.String queryName, java.lang.Object value, net.sf.hibernate.type.Type type)
          Execute a named query for persistent instances, binding one value to a "?" parameter in the query string.
 java.util.List HibernateOperations.findByNamedQuery(java.lang.String queryName, java.lang.Object[] values)
          Execute a named query for persistent instances, binding a number of values to "?" parameters in the query string.
 java.util.List HibernateOperations.findByNamedQuery(java.lang.String queryName, java.lang.Object[] values, net.sf.hibernate.type.Type[] types)
          Execute a named query for persistent instances, binding a number of values to "?" parameters in the query string.
 java.util.List HibernateOperations.findByNamedQueryAndValueBean(java.lang.String queryName, java.lang.Object valueBean)
          Execute a named query for persistent instances, binding the properties of the given bean to named parameters in the query string.
 

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
 boolean OpenSessionInViewInterceptor.preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object handler)
          Opens a new Hibernate Session according to the settings of this HibernateAccessor and binds in to the thread via TransactionSynchronizationManager.
 void OpenSessionInViewInterceptor.postHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object handler, ModelAndView modelAndView)
          Flushes the Hibernate Session before view rendering, if necessary.
 void OpenSessionInViewInterceptor.afterCompletion(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object handler, java.lang.Exception ex)
          Unbinds the Hibernate Session from the thread and closes it.
 

Uses of DataAccessException in org.springframework.orm.ibatis
 

Methods in org.springframework.orm.ibatis that throw DataAccessException
 java.lang.Object SqlMapTemplate.execute(java.lang.String statementName, SqlMapCallback action)
          Execute the given data access action on the given iBATIS mapped statement.
 java.util.List SqlMapTemplate.executeWithListResult(java.lang.String statementName, SqlMapCallback action)
          Execute the given data access action on the given mapped statement, expecting a List result.
 java.util.Map SqlMapTemplate.executeWithMapResult(java.lang.String statementName, SqlMapCallback action)
          Execute the given data access action on the given mapped statement, expecting a Map result.
 java.lang.Object SqlMapTemplate.executeQueryForObject(java.lang.String statementName, java.lang.Object parameterObject)
           
 java.lang.Object SqlMapTemplate.executeQueryForObject(java.lang.String statementName, java.lang.Object parameterObject, java.lang.Object resultObject)
           
 java.util.List SqlMapTemplate.executeQueryForList(java.lang.String statementName, java.lang.Object parameterObject)
           
 java.util.List SqlMapTemplate.executeQueryForList(java.lang.String statementName, java.lang.Object parameterObject, int skipResults, int maxResults)
           
 java.util.Map SqlMapTemplate.executeQueryForMap(java.lang.String statementName, java.lang.Object parameterObject, java.lang.String keyProperty)
           
 java.util.Map SqlMapTemplate.executeQueryForMap(java.lang.String statementName, java.lang.Object parameterObject, java.lang.String keyProperty, java.lang.String valueProperty)
           
 void SqlMapTemplate.executeQueryWithRowHandler(java.lang.String statementName, java.lang.Object parameterObject, com.ibatis.db.sqlmap.RowHandler rowHandler)
           
 int SqlMapTemplate.executeUpdate(java.lang.String statementName, java.lang.Object parameterObject)
           
 java.lang.Object SqlMapOperations.executeQueryForObject(java.lang.String statementName, java.lang.Object parameterObject)
           
 java.lang.Object SqlMapOperations.executeQueryForObject(java.lang.String statementName, java.lang.Object parameterObject, java.lang.Object resultObject)
           
 java.util.List SqlMapOperations.executeQueryForList(java.lang.String statementName, java.lang.Object parameterObject)
           
 java.util.List SqlMapOperations.executeQueryForList(java.lang.String statementName, java.lang.Object parameterObject, int skipResults, int maxResults)
           
 java.util.Map SqlMapOperations.executeQueryForMap(java.lang.String statementName, java.lang.Object parameterObject, java.lang.String keyProperty)
           
 void SqlMapOperations.executeQueryWithRowHandler(java.lang.String statementName, java.lang.Object parameterObject, com.ibatis.db.sqlmap.RowHandler rowHandler)
           
 int SqlMapOperations.executeUpdate(java.lang.String statementName, java.lang.Object parameterObject)
           
 java.lang.Object SqlMapClientTemplate.execute(SqlMapClientCallback action)
          Execute the given data access action on an SqlMapSession.
 java.util.List SqlMapClientTemplate.executeWithListResult(SqlMapClientCallback action)
          Execute the given data access action on an SqlMapSession, expecting a List result.
 java.util.Map SqlMapClientTemplate.executeWithMapResult(SqlMapClientCallback action)
          Execute the given data access action on an SqlMapSession, expecting a Map result.
 java.lang.Object SqlMapClientTemplate.queryForObject(java.lang.String statementName, java.lang.Object parameterObject)
           
 java.lang.Object SqlMapClientTemplate.queryForObject(java.lang.String statementName, java.lang.Object parameterObject, java.lang.Object resultObject)
           
 java.util.List SqlMapClientTemplate.queryForList(java.lang.String statementName, java.lang.Object parameterObject)
           
 java.util.List SqlMapClientTemplate.queryForList(java.lang.String statementName, java.lang.Object parameterObject, int skipResults, int maxResults)
           
 java.util.List SqlMapClientTemplate.queryForList(java.lang.String statementName, java.lang.Object parameterObject, com.ibatis.sqlmap.client.event.RowHandler rowHandler)
           
 java.util.Map SqlMapClientTemplate.queryForMap(java.lang.String statementName, java.lang.Object parameterObject, java.lang.String keyProperty)
           
 java.util.Map SqlMapClientTemplate.queryForMap(java.lang.String statementName, java.lang.Object parameterObject, java.lang.String keyProperty, java.lang.String valueProperty)
           
 java.lang.Object SqlMapClientTemplate.insert(java.lang.String statementName, java.lang.Object parameterObject)
           
 int SqlMapClientTemplate.update(java.lang.String statementName, java.lang.Object parameterObject)
           
 int SqlMapClientTemplate.delete(java.lang.String statementName, java.lang.Object parameterObject)
           
 java.lang.Object SqlMapClientOperations.queryForObject(java.lang.String statementName, java.lang.Object parameterObject)
           
 java.lang.Object SqlMapClientOperations.queryForObject(java.lang.String statementName, java.lang.Object parameterObject, java.lang.Object resultObject)
           
 java.util.List SqlMapClientOperations.queryForList(java.lang.String statementName, java.lang.Object parameterObject)
           
 java.util.List SqlMapClientOperations.queryForList(java.lang.String statementName, java.lang.Object parameterObject, int skipResults, int maxResults)
           
 java.util.List SqlMapClientOperations.queryForList(java.lang.String statementName, java.lang.Object parameterObject, com.ibatis.sqlmap.client.event.RowHandler rowHandler)
           
 java.util.Map SqlMapClientOperations.queryForMap(java.lang.String statementName, java.lang.Object parameterObject, java.lang.String keyProperty)
           
 java.util.Map SqlMapClientOperations.queryForMap(java.lang.String statementName, java.lang.Object parameterObject, java.lang.String keyProperty, java.lang.String valueProperty)
           
 java.lang.Object SqlMapClientOperations.insert(java.lang.String statementName, java.lang.Object parameterObject)
           
 int SqlMapClientOperations.update(java.lang.String statementName, java.lang.Object parameterObject)
           
 int SqlMapClientOperations.delete(java.lang.String statementName, java.lang.Object parameterObject)
           
 

Uses of DataAccessException in org.springframework.orm.jdo
 

Subclasses of DataAccessException in org.springframework.orm.jdo
 class JdoSystemException
          JDO-specific subclass of DataAccessException, for Hibernate system errors that do not match any concrete org.springframework.dao exceptions.
 class JdoUsageException
          JDO-specific subclass of DataAccessException, for JDO usage exception that do not match any concrete org.springframework.dao exceptions.
 

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 JdoDialect.translateException(javax.jdo.JDOException ex)
          Translate the given JDOException to a corresponding exception from Spring's generic DataAccessException hierarchy.
 DataAccessException JdoAccessor.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 that throw DataAccessException
 java.lang.Object JdoTemplate.execute(JdoCallback action)
          Execute the action specified by the given action object within a PersistenceManager.
 

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.
 



Copyright (C) 2003-2004 The Spring Framework Project.