You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2012/11/03 15:00:58 UTC

svn commit: r1405340 - in /cayenne/site/cms/trunk/content: ./ 2011/ 2011/03/ 2011/03/08/ 2011/06/ 2011/06/21/ 2011/09/ 2011/09/26/ 2012/ 2012/06/ 2012/06/12/

Author: aadamchik
Date: Sat Nov  3 14:00:57 2012
New Revision: 1405340

URL: http://svn.apache.org/viewvc?rev=1405340&view=rev
Log:
porting past news articles

Added:
    cayenne/site/cms/trunk/content/2011/
    cayenne/site/cms/trunk/content/2011/03/
    cayenne/site/cms/trunk/content/2011/03/08/
    cayenne/site/cms/trunk/content/2011/03/08/cayenne-31m2-is-released.mdtext
    cayenne/site/cms/trunk/content/2011/06/
    cayenne/site/cms/trunk/content/2011/06/21/
    cayenne/site/cms/trunk/content/2011/06/21/cayenne-302-is-released.mdtext
    cayenne/site/cms/trunk/content/2011/09/
    cayenne/site/cms/trunk/content/2011/09/26/
    cayenne/site/cms/trunk/content/2011/09/26/cayenne-31m3-is-released.mdtext
    cayenne/site/cms/trunk/content/2012/
    cayenne/site/cms/trunk/content/2012/06/
    cayenne/site/cms/trunk/content/2012/06/12/
    cayenne/site/cms/trunk/content/2012/06/12/cayenne-31-beta-released.mdtext
Modified:
    cayenne/site/cms/trunk/content/index.mdtext

Added: cayenne/site/cms/trunk/content/2011/03/08/cayenne-31m2-is-released.mdtext
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/2011/03/08/cayenne-31m2-is-released.mdtext?rev=1405340&view=auto
==============================================================================
--- cayenne/site/cms/trunk/content/2011/03/08/cayenne-31m2-is-released.mdtext (added)
+++ cayenne/site/cms/trunk/content/2011/03/08/cayenne-31m2-is-released.mdtext Sat Nov  3 14:00:57 2012
@@ -0,0 +1,18 @@
+Title: Cayenne 3.1M2 is Released
+
+## Cayenne 3.1M2 is Released
+
+We keep improving Cayenne 3.1 with the new M2 milestone release. If you've already experimented with 3.1, M2 is a must-have upgrade - it fixes a number of bugs that affected runtime stability (CAY-1515, CAY-1519). If you haven't, maybe it is time to try it out? ;) Usual disclaimer applies about M2 being an early alpha and the new APIs being subject to change. In addition to the numerous bugfixes in the runtime and the Modeler, the new release introduces a set of brand new powerful tools for object lifecycle management. We'll briefly describe them here. Please check Guide to 3.1 Features for more details.
+
+* Cayenne now allows to declare listener methods with annotations. Configuring listener methods in the Modeler (or via API for that matter) was arguably the most tedious mapping task in Cayenne. What's even worse, if you reuse your model in more than one app, you may not want the listeners to be shared, so you don't want them to be in the model at all. M2 solves that by letting you to annotate the listener class, and registering a listener object where you need it with a single method call. A listener object can of course have multiple annotated callback methods:
+
+        MyListener listener = new MyListener();
+        runtime.getChannel().getEntityResolver().getCallbackRegistry().addListener(listener);
+
+    While JPA users may think that lifecycle annotations is old news, Cayenne goes a bit further than JPA here. Cayenne annotations let you attach a listener not just to specific entities, but also to entities whose names are not known to the listener upfront. A listener annotation may reference an arbitrary user-defined annotation which is then placed on entity classes. All of this completely changes how you manage your listeners. It becomes simple, clear and flexible.
+
+* Another cool lifecycle management tool is DataChannelFilter. A chain of filters can be configured by the user to intercept and react to the data traffic (selects, commits) between DataContext and DataDomain. This was sort of possible before by decorating a DataChannel, however the new approach is much less invasive, and more importantly, the filter object can also have annotated listener methods that are aware of the ongoing select or commit operation. That's what ultimately makes it usable in real-life situations. CacheInvalidationFilter in cayenne-lifeycle module (cayenne-lifecycle is described below) is a good example of how a filter collects some information about an ongoing persistence operation in a ThreadLocal object, and then processes aggregated information at the end of this operation.
+
+* We are taking advantage of the above feature by providing a cayenne-lifecycle extensions module that implements a few common lifecycle management scenarios - object audit, automated cache group invalidation, and handling a new kind of "to-any" relationship (we tentatively called that one a UuidRelationship). You may use cayenne-lifecycle goodies as is, extend them, or simply refer to it as an example of what is possible with the new lifecycle tools. There's still lots of experimentation going on here, so its API is likely to change.
+
+Finally, 3.1M2 [download link](/download.html).
\ No newline at end of file

Added: cayenne/site/cms/trunk/content/2011/06/21/cayenne-302-is-released.mdtext
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/2011/06/21/cayenne-302-is-released.mdtext?rev=1405340&view=auto
==============================================================================
--- cayenne/site/cms/trunk/content/2011/06/21/cayenne-302-is-released.mdtext (added)
+++ cayenne/site/cms/trunk/content/2011/06/21/cayenne-302-is-released.mdtext Sat Nov  3 14:00:57 2012
@@ -0,0 +1,25 @@
+Title: Cayenne 3.0.2 is Released
+
+## Cayenne 3.0.2 is Released
+
+We just released a maintenance version of stable Cayenne 3.0 branch. It has 19 bug fixes and minor improvements, e.g. a performance improvement for MySQL (JDBC batching). If you are a 3.0.x user, this is certainly a recommended upgrade. A full list of closed jiras is below:
+
+* CAY-1500 MySQL JDBC Batching
+* CAY-1403 Method "readNestedProperty" Should Resolve Through Iterative Invocations onto DataObject and Not Complete Within Cayenne.readNestedProperty
+* CAY-1432 java.io.NotSerializableException when using OSCache for query cache with prefetches and persitent cache.
+* CAY-1444 NPE when persisting a newly instatiated object
+* CAY-1456 Investigate auto-increment columns on DB2 and switch the adapter policy to support them
+* CAY-1484 Flattened attribute queries are incorrectly generated
+* CAY-1485 Memory information for about dialog
+* CAY-1488 OutOfMemory when selecting "Remove Foreign Keys Mapped as Object Attributes"
+* CAY-1489 NPE using DataContext.objectFromDataRow for a nested context
+* CAY-1490 Maven cgen: all and datamap modes can not be activated
+* CAY-1496 Problem in derby: comparison operators are not supported on Clob object values.
+* CAY-1503 POST_LOAD is not called on prefetched objects
+* CAY-1505 Callbacks: POST_UPDATE is called on updated removed object, instead of POST_REMOVE
+* CAY-1506 Reserverd words mapping in WHERE clause
+* CAY-1518 cgen: duplicate callback methods
+* CAY-1557 Vertical inheritance is broken for subclasses with more than one flattened attribute
+* CAY-1561 Modeler trivial bug NullPointerException on remove
+* CAY-1567 BaseQueryMetadata.setPrefetches() causes a shared lock
+* CAY-1578 unicode character types on MS SQL 2008 server aren't recognized.

Added: cayenne/site/cms/trunk/content/2011/09/26/cayenne-31m3-is-released.mdtext
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/2011/09/26/cayenne-31m3-is-released.mdtext?rev=1405340&view=auto
==============================================================================
--- cayenne/site/cms/trunk/content/2011/09/26/cayenne-31m3-is-released.mdtext (added)
+++ cayenne/site/cms/trunk/content/2011/09/26/cayenne-31m3-is-released.mdtext Sat Nov  3 14:00:57 2012
@@ -0,0 +1,57 @@
+Title: Cayenne 3.1M3 is Released
+
+## Cayenne 3.1M3 is Released
+
+We are glad to announce 3.1M3 release of Cayenne. This is an important milestone on our way to Beta. In fact there is a good chance that the next release will be announced as Beta. Upgrade to M3 is strongly recommended to all 3.1 users, as it contains some critical bug fixes. The highlights of the M3:
+
+* Core API improvements - cleaner vararg APIs in ObjectContext and Cayenne classes, ObjectContext.localObject(Object), etc.
+* Switching more of the internals to DI (query cache providers, loggers, various strategies controlling ObjectContext behavior, etc.). We'll keep working on this, so M4 will have more of it, and in fact there are a number of existing patches waiting for review (e.g. DI-based ExtendedTypes).
+* New QueryCache implementation based on EHCache (not thoroughly tested yet, so user feedback will be very helpful).
+* Refactoring of "cayenne-lifecycle" based on experience using it in the real apps.
+* Fixing a number of critical bugs.
+
+[Download link](/download.html)
+
+And now the full release notes:
+
+Changes/New Features:
+
+* CAY-943 Support multiple cayenne.xml files in the project
+* CAY-1266 Joint prefetches with fetch limit and offset do not work on Oracle
+* CAY-1461 CayenneModeler: remove ScopeMVC dependency - ObjRelationshipInfoDialog
+* CAY-1556 Add path construction feature to make constructing paths from constants easier for queries and orderings
+* CAY-1525 CharType: don't trim spaces on the left
+* CAY-1537 Implement ObjectContext local caches as NestedQueryCache over the shared cache
+* CAY-1544 Remove jdk1.6 module from Cayenne sources
+* CAY-1545 cayenne-lifecycle Referenceable handler refactoring
+* CAY-1547 cayenne-lifecycle: support for setting UuidRelationships
+* CAY-1549 Migrate BatchQueryBuilderFactory to DI
+* CAY-1553 cayenne-lifecycle: @SortWeight annotation
+* CAY-1573 QueryLogger to DI JdbcEventLogger migration
+* CAY-1584 Improve Cayenne modeler re-ordering named query in the cayenne map xml
+* CAY-1586 New extension point: a strategy for retaining objects in the ObjectStore
+* CAY-1590 DDL generation without a live datasource
+* CAY-1594 DI extension point: turning on/off cross-ObjectContext synchronization
+* CAY-1595 EHCache implementation of Provider<QueryCache>
+* CAY-1598 Per DataMap listeners are called for all entities in DataDomain
+* CAY-1599 Annotation-based global listeners registration
+* CAY-1605 Switch Cayenne to use unified Maven repository
+* CAY-1606 Change CayenneModeler new object naming strategy
+* CAY-1610 ObjectContext API to use varargs
+* CAY-1611 ObjectContext API improvement - better 'localObect' method
+
+Bug Fixes:
+
+* CAY-1469 Modeler: dbRelationships renaming problem
+* CAY-1526 Preferences: java.lang.IllegalArgumentException: Key too long
+* CAY-1539 Incorrect offset handling on some queries against database with supported LIMIT/OFFSET clauses
+* CAY-1546 cayenne-lifecycle: UuidBatchFault concurrency issues
+* CAY-1555 Unpublished dependencies of Maven plugins
+* CAY-1575 Error generating Embeddable classes in Cayenne Modeler
+* CAY-1577 SQL queries for LIKE expressions with escape character generated with syntax errors
+* CAY-1581 Not-Escaping <> during serialization to *.map.xml
+* CAY-1583 context.getObjectStore() returning null causing NullpointerException in DataMergeHandler
+* CAY-1585 SelectQuery automatic cache key needs FetchOffset
+* CAY-1591 CayenneModeler: keyboard shortcuts causing havoc in SQLTemplate SQL editor
+* CAY-1596 setFetchOffset & setFetchLimit issue under SQL Server 2008 R2 64Bit
+* CAY-1602 OSCache clustering should be shared per JVM - @CacheGroup annotation causes creation of too many cluster listeners

Added: cayenne/site/cms/trunk/content/2012/06/12/cayenne-31-beta-released.mdtext
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/2012/06/12/cayenne-31-beta-released.mdtext?rev=1405340&view=auto
==============================================================================
--- cayenne/site/cms/trunk/content/2012/06/12/cayenne-31-beta-released.mdtext (added)
+++ cayenne/site/cms/trunk/content/2012/06/12/cayenne-31-beta-released.mdtext Sat Nov  3 14:00:57 2012
@@ -0,0 +1,11 @@
+Title:  Cayenne 3.1 Beta Released
+
+## Cayenne 3.1 Beta Released
+
+Very happy to announce Cayenne 3.1 beta! Apache Cayenne is one of the leading open source Java ORMs with a simple learning curve and a set of unique functionality like generic objects, remote object persistence, etc. Cayenne 3.1 features a small (only 40K), but very powerful built-in dependency injection container, declarative object lifecycle support and dozens of improvements in all areas of the framework and the modeling tools. 
+
+With 3.1 beta out, we are freezing all development of this branch, and will concentrate on bug fixing and stabilizing the release in preparation of 3.1 final. So now may be the time to try 3.1.
+
+Cayenne can be downloaded from [here](/download.html).
+
+For a list of issues resolved in 3.1 beta, check the [release notes](http://svn.apache.org/repos/asf/cayenne/main/tags/3.1B1/docs/doc/src/main/resources/RELEASE-NOTES.txt).
\ No newline at end of file

Modified: cayenne/site/cms/trunk/content/index.mdtext
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/index.mdtext?rev=1405340&r1=1405339&r2=1405340&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/index.mdtext (original)
+++ cayenne/site/cms/trunk/content/index.mdtext Sat Nov  3 14:00:57 2012
@@ -32,7 +32,11 @@ high-volume  environments, Cayenne is an
 services.
 
 ## News
-{blog-posts:4|content=excerpts}
+
+* [Cayenne 3.1 Beta is Released](/2012/06/12/cayenne-31-beta-released.html) _(June 12, 2012)_
+* [Cayenne 3.1M3 is Released](/2011/09/26/cayenne-31m3-is-released.html) _(Sep 26, 2011)_
+* [Cayenne 3.0.2 is Released](/2011/06/21/cayenne-302-is-released.html) _(June 21, 2011)_
+* [Cayenne 3.1M2 is Released](/2011/03/08/cayenne-31m2-is-released.html) _(March 8, 2011)_
 
 ## Cayenne Modeler
 ![Modeler](/img/modeler-thumb.png) Cayenne is distributed with CayenneModeler