You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by nt...@apache.org on 2017/03/10 08:06:34 UTC

cayenne git commit: Release and upgrade notes for CAY-2256

Repository: cayenne
Updated Branches:
  refs/heads/master cf9d83b4a -> 3ecc08ebe


Release and upgrade notes for CAY-2256


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/3ecc08eb
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/3ecc08eb
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/3ecc08eb

Branch: refs/heads/master
Commit: 3ecc08ebe816e0cd1456637dc491f31df74071de
Parents: cf9d83b
Author: Nikita Timofeev <st...@gmail.com>
Authored: Fri Mar 10 11:06:28 2017 +0300
Committer: Nikita Timofeev <st...@gmail.com>
Committed: Fri Mar 10 11:06:28 2017 +0300

----------------------------------------------------------------------
 docs/doc/src/main/resources/RELEASE-NOTES.txt | 14 +++++++++++++-
 docs/doc/src/main/resources/UPGRADE.txt       | 12 ++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/3ecc08eb/docs/doc/src/main/resources/RELEASE-NOTES.txt
----------------------------------------------------------------------
diff --git a/docs/doc/src/main/resources/RELEASE-NOTES.txt b/docs/doc/src/main/resources/RELEASE-NOTES.txt
index 5bcddc4..6fc7b0f 100644
--- a/docs/doc/src/main/resources/RELEASE-NOTES.txt
+++ b/docs/doc/src/main/resources/RELEASE-NOTES.txt
@@ -8,11 +8,23 @@ To browse individual bug reports check out project issue tracker:
 https://issues.apache.org/jira/browse/CAY
 
 ----------------------------------
-Release: 4.0.M5
+Release: 4.0.M6
 Date:
 ----------------------------------
 Changes/New Features:
 
+
+
+Bug Fixes:
+
+CAY-2256 Cannot Save/Insert an Object With null Flattened (complex) toOne Relationship (see also CAY-2146)
+
+----------------------------------
+Release: 4.0.M5
+Date: March 6, 2017
+----------------------------------
+Changes/New Features:
+
 CAY-2139 Upgrade HSQLDB dependency to the most recent version (2.3.4)
 CAY-2150 Refactoring: ParameterBinding to contain ExtendedType property
 CAY-2163 Property.path() , ExpressionFactory.pathExp()

http://git-wip-us.apache.org/repos/asf/cayenne/blob/3ecc08eb/docs/doc/src/main/resources/UPGRADE.txt
----------------------------------------------------------------------
diff --git a/docs/doc/src/main/resources/UPGRADE.txt b/docs/doc/src/main/resources/UPGRADE.txt
index 81f5a88..43cbc20 100644
--- a/docs/doc/src/main/resources/UPGRADE.txt
+++ b/docs/doc/src/main/resources/UPGRADE.txt
@@ -4,8 +4,20 @@ Apache Cayenne Upgrade Information
 IMPORTANT: be sure to read all notes for the intermediate releases between your
            current release and the release you are upgrading to.
 -------------------------------------------------------------------------------
+
+UPGRADING TO 4.0.M6
+
+* Per CAY-2256 Fix for CAY-2146 was reverted, as it appears that we can't reliably deduce whether
+  relationship is optional or not. So in case of mandatory relationships in vertical inheritance
+  you should perform manual validation before insert by using "prePersist" callback in your
+  object (you can create it in the Cayenne Modeler) or by overriding "validateForSave" method.
+
+
 UPGRADING TO 4.0.M5
 
+* Per CAY-2186 DerbyPkGenerator switched from AUTO_PK_TABLE to sequence-based PK generator
+  If you relied in anyway on AUTO_PK_TABLE usage in derby, you should change your code.
+
 * Per CAY-2228 Support for multiple cache groups has been removed from caching and query API
   as none of the modern providers supports it. If you relied on this feature you should
   implement it by yourself or change caching provider