Details
-
New Feature
-
Status: Closed
-
Must
-
Resolution: Fixed
-
None
-
None
-
Undetermined
Description
Now that Ben has demonstrated feasibility in TRUNK-1930, we should consider moving more functionality from save handlers into hibernate interceptors. (Hibernate interceptors don't require specific conventions for method names, and are probably less error-prone.)
This could definitely be done in an interceptor:
- OpenmrsObjectSaveHandler assigns a UUID to any OpenmrsObject that doesn't have one.
This might be possible to move to an interceptor (but it should probably be done in such a way that objects that parent and child objects get identical dateCreated values):
- AuditableSaveHandler sets creator/dateCreated
Gliffy Diagrams
Attachments
Issue Links
- caused
-
TRUNK-2903 AuditableInterceptor fails with a NPE at startup if there are scheduled tasks to run at startup
-
- Closed
-
- is related to
-
TRUNK-2692 Editing provider via an HTML Form fails
-
- Closed
-
-
TRUNK-2588 Generic mechanism for doing Attributes and Attribute Types on many classes. (Review code, and Refactor.)
-
- Closed
-