com.interface21.orm.hibernate
Class HibernateJdbcException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.interface21.core.NestedRuntimeException
                          |
                          +--com.interface21.dao.DataAccessException
                                |
                                +--com.interface21.dao.UncategorizedDataAccessException
                                      |
                                      +--com.interface21.orm.hibernate.HibernateJdbcException
All Implemented Interfaces:
HasRootCause, java.io.Serializable

public class HibernateJdbcException
extends UncategorizedDataAccessException

Hibernate-specific subclass of DataAccessException, for JDBC exceptions that Hibernate rethrew. Used by HibernateTemplate.

Part of the general strategy to allow for using Hibernate within application service implementations that just feature DataAccessException in their interfaces. Clients of these services do not need to be aware of the particular data access strategy used by the service implementations.

Since:
02.05.2003
Author:
Juergen Hoeller
See Also:
HibernateTemplate, com.interface21.dao, Serialized Form

Constructor Summary
HibernateJdbcException(java.lang.String s, net.sf.hibernate.JDBCException ex)
           
 
Methods inherited from class com.interface21.core.NestedRuntimeException
getMessage, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HibernateJdbcException

public HibernateJdbcException(java.lang.String s,
                              net.sf.hibernate.JDBCException ex)


Rod Johnson and Spring contributors 2001-2003.