Details
-
Task
-
Status: Closed
-
TBD
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
-
Undetermined
-
Description
TODO: A merge is necessary here because hibernate thinks that Patients and Persons are the same objects. So it sees a Person object in the cache and claims it is a duplicate of this Patient object.
patient = (Patient) sessionFactory.getCurrentSession().merge(patient);
File: /openmrs/api/src/main/java/org/openmrs/api/db/hibernate/HibernatePatientDAO.java
Line: 99
Gliffy Diagrams
Attachments
Issue Links
- relates to
-
TRUNK-324 Go through the TODO items code and create tickets out of them
-
- Ready for Work
-
-
TRUNK-6087 COPY: Go through the TODO items code and create tickets out of them
-
- Needs Assessment
-
-
TRUNK-6108 COPY: Go through the TODO items code and create tickets out of them
-
- Needs Assessment
-