Employee employee = hibernateTemplate.get(Employee.class, employeeId);
System.out.println(employee.getEmployeeId() + "\t" + employee.getEmployeeName());
employee.setEmailString(newEmail);
hibernateTemplate.update(employee);
Hibernate:
select
employee0_.employee_id as employee1_0_0_,
employee0_.email as email2_0_0_,
employee0_.employee_name as employee3_0_0_,
employee0_.gender as gender4_0_0_,
employee0_.salary as salary5_0_0_
from
employee_details employee0_
where
employee0_.employee_id=?
Только get
выполняется, а запрос на обновление не выполняется.Есть идеи почему?