Usage of the Hibernate @LazyCollection Annotation Article by Abdallah Sawan
This commit is contained in:
parent
8a004c459a
commit
a9fbcbadec
|
@ -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