Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-420

Transactional repositories

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5
    • 1.4.0
    • Data-Module
    • None

    Description

      It's nice to get semi-automatic repositories from DeltaSpike Data, but these repositories would be even more fun if they were transactional, not necessarily by default, but at least by simple configuration.

      Possible approaches:

      1) Add @Transactional to an abstract repository class, i.e. javax.transaction.Transactional in Java EE 7, or org.apache.deltaspike.jpa.api.transaction.Transactional otherwise.

      Currently, this does not work due to DELTASPIKE-419.

      2) Make it easy to override the @Repository binding or the query handler, to add transactional behaviour.

      Attachments

        1. DELTASPIKE-420_spi.patch
          5 kB
          Gerhard Petracek

        Activity

          People

            tandraschko Thomas Andraschko
            hwellmann Harald Wellmann
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: