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

Fix typo in tapestry-hibernate/src/site/apt/userguide.apt: HibernateTransactionAdviser should be HibernateTransactionAdvisor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 5.2, 5.1.0.7
    • 5.2.0
    • documentation
    • None

    Description

      Index: tapestry-hibernate/src/site/apt/userguide.apt
      ===================================================================
      — tapestry-hibernate/src/site/apt/userguide.apt (revision 894492)
      +++ tapestry-hibernate/src/site/apt/userguide.apt (working copy)
      @@ -202,11 +202,11 @@
      }
      ---

      • Finally, you should use the HibernateTransactionAdviser to add transaction advice:
        + Finally, you should use the HibernateTransactionAdvisor to add transaction advice:

      ---
      @Match("*DAO")

      • public static void adviseTransactions(HibernateTransactionAdviser advisor, MethodAdviceReceiver receiver)
        + public static void adviseTransactions(HibernateTransactionAdvisor advisor, MethodAdviceReceiver receiver) { advisor.addTransactionCommitAdvice(receiver); }

      Attachments

        Activity

          People

            ulrich.staerk Ulrich Stärk
            based2 Basile Chandesris
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: