Grails
  1. Grails
  2. GRAILS-8323

Support transactional test cases for additional datasources

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Testing
    • Labels:
      None

      Description

      Currently, transactional test cases only work with domain classes using the default datasource. Transactions for all additional datasources are committed after test execution. I would be a great improvement to modify the GrailsTestTransactionInterceptor to support a datasource declaration like in service classes for automatic rollback.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Hendrik Heneke
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Last Reviewed:

              Development