Tapestry 5
  1. Tapestry 5
  2. TAP5-1020

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.2, 5.1.0.7
    • Fix Version/s: 5.2.0, 5.1.0.8
    • Component/s: documentation
    • Labels:
      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); }

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Ulrich Stärk
            Reporter:
            Basile Chandesris
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development