/**
  * Sets up the test before its execution, by creating the dao and the transaction.
  *
  * @throws Exception if an unexpected exception occurs.
  */
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   class101BIDao = SampleDaoFactory.getAssociationsClass101BIDao();
   class101BIENDDao = SampleDaoFactory.getAssociationsClass101BIENDDao();
   tx = HibernateUtil.currentSession().beginTransaction();
 }
예제 #2
0
 /**
  * Sets up the test before its execution, by creating the dao and the transaction.
  *
  * @throws Exception if an unexpected exception occurs.
  */
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   tABLEDao = SampleDaoFactory.getTABLEDao();
   tx = HibernateUtil.currentSession().beginTransaction();
 }