Details
-
Type:
Task
-
Status: Closed
-
Priority:
TBD
-
Resolution: Cannot Reproduce
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Complexity:Undetermined
-
Development:
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
-