org.springframework.orm.hibernate
Class HibernateJdbcException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.springframework.core.NestedRuntimeException
                  extended byorg.springframework.dao.DataAccessException
                      extended byorg.springframework.dao.UncategorizedDataAccessException
                          extended byorg.springframework.orm.hibernate.HibernateJdbcException
All Implemented Interfaces:
java.io.Serializable

public class HibernateJdbcException
extends UncategorizedDataAccessException

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

Since:
02.05.2003
Author:
Juergen Hoeller
See Also:
SessionFactoryUtils.convertHibernateAccessException(net.sf.hibernate.HibernateException), HibernateAccessor.convertHibernateAccessException(net.sf.hibernate.HibernateException), DataAccessException, Serialized Form

Constructor Summary
HibernateJdbcException(net.sf.hibernate.JDBCException ex)
           
HibernateJdbcException(java.sql.SQLException ex)
           
 
Methods inherited from class org.springframework.core.NestedRuntimeException
getCause, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HibernateJdbcException

public HibernateJdbcException(net.sf.hibernate.JDBCException ex)

HibernateJdbcException

public HibernateJdbcException(java.sql.SQLException ex)


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