agave-jobs/jobs-core/src/test/java/org/iplantc/service/jobs/dao/AbstractDaoTest.java
/**
	 * Delete all {@link Notification}s from the database
	 */
Delete all  Notifications from the database
Delete all Notifications from the database
protected void clearJobNotifications()
	{
	    Session session = null;
        try
        {
            HibernateUtil.beginTransaction();
            session = HibernateUtil.getSession();
            session.clear();
            HibernateUtil.disableAllFilters();
            session.createQuery("delete Notification").executeUpdate();
            session.flush();
        }
        finally {
            try { HibernateUtil.commitTransaction();} catch (Throwable ignored) {}
        }
	}
protected void clearJobNotifications ( ) { Session session = null ; try { HibernateUtil . beginTransaction ( ) ; session = HibernateUtil . getSession ( ) ; session . clear ( ) ; HibernateUtil . disableAllFilters ( ) ; session . createQuery ( "delete Notification" ) . executeUpdate ( ) ; session . flush ( ) ; } finally { try { HibernateUtil . commitTransaction ( ) ; } catch ( Throwable ignored ) { } } }
Delete all {@link Notification}s from the database
Delete all { @link Notification } s from the database