Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1793

It should not be necessary to add additional configuration to make @CommitAfter work on service interface methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.4
    • None
    • tapestry-hibernate

    Description

      Currently, Tapestry provides a HibernateTransactionAdvisor service that can be used from a method advice method to instrument services that use @CommitAfter. However, it is still up the individual developer to create the advice method.

      Instead should provide a standard advisor that advises all services when it see @CommitAfter on a method of a service interface.

      Possibly we need a secondary annotation to exclude a service from this behavior.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: