Beispiel #1
0
 /**
  * Tear down.
  *
  * @throws Exception exception.
  */
 @Override
 protected void tearDown() throws Exception {
   try {
     JpaUtil.closeSession();
   } finally {
     super.tearDown();
   }
 }
Beispiel #2
0
 /**
  * Setup.
  *
  * @throws Exception exception.
  */
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   JpaUtil.getSession(CONFIG.getEmfName(), CONFIG.getEmfConfigOverrides());
 }