cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1453962 - /cayenne/site/cms/trunk/content/docs/3.1/cayenne-guide/lifecycle-events.html
Date Thu, 07 Mar 2013 17:07:23 GMT
Author: aadamchik
Date: Thu Mar  7 17:07:23 2013
New Revision: 1453962

URL: http://svn.apache.org/r1453962
Log:
typo

Modified:
    cayenne/site/cms/trunk/content/docs/3.1/cayenne-guide/lifecycle-events.html

Modified: cayenne/site/cms/trunk/content/docs/3.1/cayenne-guide/lifecycle-events.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/3.1/cayenne-guide/lifecycle-events.html?rev=1453962&r1=1453961&r2=1453962&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/3.1/cayenne-guide/lifecycle-events.html (original)
+++ cayenne/site/cms/trunk/content/docs/3.1/cayenne-guide/lifecycle-events.html Thu Mar  7
17:07:23 2013
@@ -243,7 +243,7 @@ registry.addListener(<span xmlns="http:/
     <span xmlns="http://www.w3.org/1999/xhtml" class="hl-annotation">@PostPersist(entityAnnotations
= Tag.class)</span>
     <span xmlns="http://www.w3.org/1999/xhtml" class="hl-annotation">@PostUpdate(entityAnnotations
= Tag.class)</span>
     <span xmlns="http://www.w3.org/1999/xhtml" class="hl-annotation">@PostRemove(entityAnnotations
= Tag.class)</span>
-    <span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">void</span>
afterCommit() {
+    <span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">void</span>
afterCommit(Persistent object) {
         counter.get()[<span xmlns="http://www.w3.org/1999/xhtml" class="hl-number">0</span>]++;
     }
 }</pre><p>Now since this is both a filter and a listener, it needs to be registered
as



Mime
View raw message