You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by sk...@apache.org on 2016/02/15 14:54:02 UTC

svn commit: r1730530 - /cayenne/site/cms/trunk/content/2016/02/cayenne-40m3-released.mdtext

Author: skolbachev
Date: Mon Feb 15 13:54:02 2016
New Revision: 1730530

URL: http://svn.apache.org/viewvc?rev=1730530&view=rev
Log:
add news for Cayenne 4.0.M3 release

Added:
    cayenne/site/cms/trunk/content/2016/02/cayenne-40m3-released.mdtext   (with props)

Added: cayenne/site/cms/trunk/content/2016/02/cayenne-40m3-released.mdtext
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/2016/02/cayenne-40m3-released.mdtext?rev=1730530&view=auto
==============================================================================
--- cayenne/site/cms/trunk/content/2016/02/cayenne-40m3-released.mdtext (added)
+++ cayenne/site/cms/trunk/content/2016/02/cayenne-40m3-released.mdtext Mon Feb 15 13:54:02 2016
@@ -0,0 +1,105 @@
+Title:
+Notice:    Licensed to the Apache Software Foundation (ASF) under one
+           or more contributor license agreements.  See the NOTICE file
+           distributed with this work for additional information
+           regarding copyright ownership.  The ASF licenses this file
+           to you under the Apache License, Version 2.0 (the
+           "License"); you may not use this file except in compliance
+           with the License.  You may obtain a copy of the License at
+           .
+             http://www.apache.org/licenses/LICENSE-2.0
+           .
+           Unless required by applicable law or agreed to in writing,
+           software distributed under the License is distributed on an
+           "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+           KIND, either express or implied.  See the License for the
+           specific language governing permissions and limitations
+           under the License.
+
+## Cayenne 4.0 Milestone 3 Released
+_Feb 12, 2016_ 
+
+This new milestone release has plenty new features, bug fixes and other improvements. Below are just the main highlights. For more details read upgrade-guide.pdf and check out the full release notes further down.
+
+Cayenne can be downloaded from [here](/download.html).
+
+### Java 7
+
+Since this milestone release minimal Java version is 1.7. If you are still need Java 1.6, you can use Cayenne 3.1 or 4.0.M2 until your application is able to upgrade.
+
+### Java 8 Date/Time and Joda-Time Support
+
+Cayenne now has two additional modules for Java 8 Date/Time and Joda-Time support accordingly. All you need is to add appropriate maven dependency and then create module and add it to the ServerRuntime. For example:
+
+    Module java8Module = new CayenneJava8Module();
+    this.runtime = new ServerRuntime("cayenne-project.xml", java8Module);
+
+
+### Improvements in Query API
+
+All new fluent query classes (ObjectSelect, SQLSelect, SelectById) have the following basic methods:
+
+    * List<T> select(ObjectContext context);
+    * T selectOne(ObjectContext context);
+    * T selectFirst(ObjectContext context);
+    * void iterate(ObjectContext context, ResultIteratorCallback<T> callback);
+    * ResultIterator<T> iterator(ObjectContext context);
+    * ResultBatchIterator<T> batchIterator(ObjectContext context, int size);
+
+The "old" style SelectQuery is still supported and also includes this methods.
+
+Also it should be noted that ResultIterator and ResultBatchIterator are both AutoCloseable now. So you are able to use try-with-resources with them.
+
+### DBCP2 Support
+
+DBCPDataSourceFactory is now based on DBCP2 (which is required under Java 1.7 and newer). If you are using it, you will need to take a few steps to upgrade. For more details see upgrade-guide.pdf.
+
+### Connection pool
+
+### Capturing a stream of commit changes
+
+### A full list of changes in this release:
+
+* CAY-1626 Add JodaTime DateTime support
+* CAY-1902 Implement resolving Db paths for DataObjects
+* CAY-1991 More control over generated String property names
+* CAY-1992 Allow to exclude DataMap java class from Modeler class generation
+* CAY-1995 Add support for iterators to Select
+* CAY-2001 Saving a display state of Project
+* CAY-2004 EJBQL: Support for ordering on aggregate expressions
+* CAY-2007 Refactoring SelectTranslator for better extensibility
+* CAY-2008 Connection pool refactoring and validation query support in Cayenne DataSource
+* CAY-2009 Non-blocking connection pool
+* CAY-2010 DataSourceBuilder to help users create pooling and non-pooling DataSources
+* CAY-2011 Support for Java 8 date and time types
+* CAY-2012 ObjectSelect, SelectById: eliminating methods that reset query state
+* CAY-2013 In-memory evaluation of DB expressions - non-id attributes
+* CAY-2023 Decouple the use of ResourceLocator
+* CAY-2025 Support for DBCP2
+* CAY-2026 Java 7
+* CAY-2027 Support for Expression outer join syntax in EJBQL
+* CAY-2028 Wrap DataChannelFilter calls in the main transaction
+* CAY-2029 Allow out-of-order insertion into DI lists
+* CAY-2030 Capturing a stream of commit changes
+* CAY-2035 Autobind items added to collections (Cayenne DI)
+* CAY-2042 Remove an arbitrary limitation on 1000 runtime DbRelationships
+* CAY-2043 ServerRuntimeBuilder: use DataDomain name for the default DataNode
+* CAY-2044 Collection setter for to-many relationships
+* CAY-2045 Add autosuggestion fields to choose attributes and relationships
+
+### Bug Fixes:
+
+* CAY-1977 Cleanup Modeler reverse engineering functionality
+* CAY-1987 Widen types before performing in-memory evaluation of qualifiers using j.l.Number subclasses
+* CAY-1990 Incorrect display of the raw SQL query in Modeler
+* CAY-1993 Reverse Engineering does not work with PostgreSQL database
+* CAY-1994 Modeler Migration Tool Shows No Changes
+* CAY-1997 Difference in NULL handling inside the path between PropertyUtils and DataObject.readNestedProperty
+* CAY-1998 Speeding up PropertyUtils
+* CAY-1999 Unneeded Property import for superclasses with no properties
+* CAY-2003 cdbimport doesn't work properly with several includeTable tags
+* CAY-2015 Joint prefetches combined with DisjointById prefetches return null incorrectly
+* CAY-2020 typo: correction to upper alpha range in Rot13PasswordEncoder
+* CAY-2041 "cayenne.jdbc.max_connections" and "cayenne.jdbc.min_connections" command line options are ignored
+* CAY-2047 Relationship mapping with target inheritance
+* CAY-2049 Changing the Relationship name in ObjRelationship Inspector has no effect
\ No newline at end of file

Propchange: cayenne/site/cms/trunk/content/2016/02/cayenne-40m3-released.mdtext
------------------------------------------------------------------------------
    svn:eol-style = native