cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1240998 - in /cayenne/main/trunk: docs/doc/src/main/resources/RELEASE-NOTES.txt framework/cayenne-lifecycle/src/main/java/org/apache/cayenne/lifecycle/cache/CacheGroups.java
Date Mon, 06 Feb 2012 12:35:03 GMT
Author: aadamchik
Date: Mon Feb  6 12:35:03 2012
New Revision: 1240998

URL: http://svn.apache.org/viewvc?rev=1240998&view=rev
Log:
CAY-1663 @CacheGroups annotation should allow an empty list of cache groups

Modified:
    cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt
    cayenne/main/trunk/framework/cayenne-lifecycle/src/main/java/org/apache/cayenne/lifecycle/cache/CacheGroups.java

Modified: cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt?rev=1240998&r1=1240997&r2=1240998&view=diff
==============================================================================
--- cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt (original)
+++ cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt Mon Feb  6 12:35:03 2012
@@ -34,6 +34,7 @@ CAY-1654 Can't switch DataSource Factory
 CAY-1656 cayenne generate extra data in xml model when change DataNode factory
 CAY-1657 Expression: in-memory comparison requires persistent to be in the same context as
exp parameters to match
 CAY-1662 @Auditable and @AuditableChild annotations should support 'ignoredProperties' parameter
and exclude changes to runtime relationships
+CAY-1663 @CacheGroups annotation should allow an empty list of cache groups
 
 Bug Fixes Since 3.1M3:
 

Modified: cayenne/main/trunk/framework/cayenne-lifecycle/src/main/java/org/apache/cayenne/lifecycle/cache/CacheGroups.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-lifecycle/src/main/java/org/apache/cayenne/lifecycle/cache/CacheGroups.java?rev=1240998&r1=1240997&r2=1240998&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-lifecycle/src/main/java/org/apache/cayenne/lifecycle/cache/CacheGroups.java
(original)
+++ cayenne/main/trunk/framework/cayenne-lifecycle/src/main/java/org/apache/cayenne/lifecycle/cache/CacheGroups.java
Mon Feb  6 12:35:03 2012
@@ -38,7 +38,9 @@ import java.lang.annotation.Target;
 public @interface CacheGroups {
 
     /**
-     * Defines one or more cache group names associated with the tagged entity.
+     * Defines one or more cache group names associated with the tagged entity. If
+     * omitted, it is assumed that cache group names are determined dynamically based on
+     * the object type or state in whatever listener is to process them.
      */
-    String[] value();
+    String[] value() default {};
 }
\ No newline at end of file



Mime
View raw message