Code example for HibernateException

Methods: printStackTrace

0
        try { 
            sessionFactory.close();
            sessionTL.remove();
            interceptorTL.remove(); 
        } catch (HibernateException e) {
           e.printStackTrace(System.out);
        } 
        sessionFactory = null;
    } 
 
    public Properties getHibernateProperties() {
        return ((AnnotationSessionFactoryBean) sessionFactory).getHibernateProperties();
    } 
 
    /** 
     * Return the hibernate session factory 
     */ 
    public SessionFactory getSessionFactory() {
        return sessionFactory;
    } 
Contextual code suggestions in your IDE  Get Codota for Java