Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-6047

Add utility methods to invalidate database caches

    XMLWordPrintable

Details

    • New Feature
    • Status: Ready for Work
    • Should
    • Resolution: Unresolved
    • None
    • None
    • None
    • Low

    Description

      OpenMRS API caches some entities in the hibernate 2nd level cache, we need to add utility methods to the Context class to evict entities from the database cache.

      We need methods to do the following,

      • Evicting a single entity from the cache
      • Evicting all entities of a given type from the cache
      • Clearing the entire cache

      This logic is already implemented in the rest webservice module as part of RESTWS-866, we need to port the logic to core.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                wyclif Wyclif Luyima
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 days
                    2d