Lines Matching refs:Employee
59 Employee e1 = new Employee(1, "emp1", 1000);
60 Employee e2 = new Employee(2, "emp2", 2000);
61 Employee e3 = new Employee(3, "emp3", 3000);
62 Employee e4 = new Employee(4, "emp4", 4000);
64 Collection<Employee> employees = new ArrayList<Employee>();
83 // persist Employee with a long name
86 Employee e5 = new Employee(5, "myLongName5", 5000);
105 // update Employee with a long name
110 Employee e = em.find(Employee.class, 3);
126 // remove Employee with a long name
131 Employee e = em.find(Employee.class, 1);
154 Employee emp = null;
155 Query q= em.createQuery("SELECT e FROM Employee e");
159 emp = (Employee) result.get(i);