Details
-
Bug
-
Status: Closed
-
Should
-
Resolution: Fixed
-
None
-
None
Description
The properties/columns
- creator
- dateCreated
- uuid
of BaseOpenmrsData object should be made updatable=false
Since they should only be set on INSERT and shouldnt change after that.
With updatable=true the persistence provider will not add these columns to an UPDATE statement.
see jpa docs for the annotation property http://docs.oracle.com/javaee/6/api/javax/persistence/Column.html#updatable%28%29
see discussion:
https://issues.openmrs.org/browse/TRUNK-4696