Merge pull request #10645 from abdallahsawan/BAEL-4121

Usage of the Hibernate @LazyCollection Annotation Article by Abdallah…
This commit is contained in:
Eric Martin 2021-04-10 17:29:29 -05:00 committed by GitHub
commit ae670c565c
1 changed files with 0 additions and 6 deletions

View File

@ -97,12 +97,6 @@ public class LazyCollectionIntegrationTest {
Assert.assertFalse(Hibernate.isInitialized(branch.getAdditionalEmployees())); Assert.assertFalse(Hibernate.isInitialized(branch.getAdditionalEmployees()));
} }
@After
public void tearDown() {
session.getTransaction().commit();
session.close();
}
@AfterClass @AfterClass
public static void afterTests() { public static void afterTests() {
sessionFactory.close(); sessionFactory.close();