Details
-
New Feature
-
Status: Closed
-
Must
-
Resolution: Fixed
-
None
-
Medium
-
Order Entry 1.10 Iteration 5
Description
The way Order.previousOrder is mapped currently, it doesn't work for well for subclasses of Order, previousOrder is mapped as a property of Order in the hbm file with the class attribute set to org.openmrs.Order hibernate creates previousOrder as an instance of Order even for subclasses which is incorrect and will lead to ClassCastExceptions.