Usage of the Hibernate @LazyCollection Annotation Article by Abdallah Sawan

This commit is contained in:
AbdallahSawan 2021-02-16 11:31:04 +02:00
parent 13b16b915a
commit 34b1a35afb
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ import org.junit.Test;
import javax.annotation.PostConstruct;
public class LazyCollectionTests {
public class LazyCollectionTest {
private static SessionFactory sessionFactory;
@ -51,7 +51,7 @@ public class LazyCollectionTests {
session.save(branch);
Employee mainEmployee1 = new Employee("main employee 1",1L, branch, null, null);
Employee mainEmployee1 = new Employee("main employee 1", 1L, branch, null, null);
Employee mainEmployee2 = new Employee("main employee 2", 2L, branch, null, null);
Employee mainEmployee3 = new Employee("main employee 3", 3L, branch, null, null);