Merge pull request #10645 from abdallahsawan/BAEL-4121
Usage of the Hibernate @LazyCollection Annotation Article by Abdallah…
This commit is contained in:
commit
ae670c565c
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue