a different object with the same identifier value was already associated with the session when trying to persist entity
问题 I have a slight problem that I don't know how to solve. Could you help me please? When I am trying to persist entity I get next exception: 12:47:39,398 ERROR [org.black.dmitriy.entityHome.ScheduleHome] (http--127.0.0.1-8080-1) javax.persistence.EntityExistsException: a different object with the same identifier value was already associated with the session: [org.black.dmitriy.entity.Schedule#1] at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1333)