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

Move on to Spring Data JPA

    XMLWordPrintable

    Details

    • Complexity:
      Medium
    • Sprint:
      2016-11-29 Platform 2.1.0

      Description

      Add Spring Data JPA support. We should not remove any existing DAOs yet, but create alternative Spring Data DAOs.

      As part of this issue create one DAO to set an example. If we agree we want to follow that path, we can create more issues and implement all other DAOs.

      I'd suggest starting from https://github.com/openmrs/openmrs-core/blob/master/api/src/main/java/org/openmrs/api/db/EncounterDAO.java

      When implementing a new DAO you do not have to try to keep old method signatures. In fact some methods e.g. getEncounters would benefit if we changed the signature to accept one parameter object. See some discussion about good practices http://stackoverflow.com/questions/2432443/best-practice-for-passing-many-arguments-to-method

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                tendomart tendo kiiza Martyn
                Reporter:
                spereverziev Stanislav Pereverziev
                Designated Committer:
                Stanislav Pereverziev Stanislav Pereverziev
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Time Tracking

                    Estimated:
                    Original Estimate - 1 day Original Estimate - 1 day
                    1d
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 3 days
                    3d