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

MessageSources should not be transactional

    XMLWordPrintable

    Details

      Description

      Remove @Transactional attribute from MutableMessageSource and MessageSourceServiceImpl since they don't directly make calls to the DAO layer otherwise it introduces some obscure bugs like premature hibernate flushes as described by this talk topic

      Extra Credit:

      • All getter methods in CustomMessageServiceImpl in custommessage module are readOnly

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              dkayiwa Daniel Kayiwa
              Reporter:
              wyclif Wyclif Luyima
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 hours
                  3h
                  Remaining:
                  Time Spent - 2 hours Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - 2 hours Remaining Estimate - 1 hour
                  2h