emp.setName("Sunghyouk Bae");
emp.setEmpNo("21011");
emp = employeeRepository.save(emp);
QEmployee $ = QEmployee.employee;
JPAQuery query = new JPAQuery(em);
Employee loaded = query.from($)
.where($.empNo.eq("21011"))
.uniqueResult($);
assertThat(loaded).isNotNull();
assertThat(loaded.getEmpNo()).isEqualTo(emp.getEmpNo());