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 2016/05/25 06:52:04 UTC

cayenne git commit: expanding CAY-2060 upgrade notes

Repository: cayenne
Updated Branches:
  refs/heads/master cd219b2d4 -> 8513d1988


expanding CAY-2060  upgrade notes


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

Branch: refs/heads/master
Commit: 8513d1988b94b98b3a9da69a7e578d2a41a573bc
Parents: cd219b2
Author: Andrus Adamchik <an...@objectstyle.com>
Authored: Wed May 25 09:51:14 2016 +0300
Committer: Andrus Adamchik <an...@objectstyle.com>
Committed: Wed May 25 09:51:14 2016 +0300

----------------------------------------------------------------------
 docs/doc/src/main/resources/UPGRADE.txt | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/8513d198/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 fb5408d..e8fc253 100644
--- a/docs/doc/src/main/resources/UPGRADE.txt
+++ b/docs/doc/src/main/resources/UPGRADE.txt
@@ -6,8 +6,10 @@ IMPORTANT: be sure to read all notes for the intermediate releases between your
 -------------------------------------------------------------------------------
 UPGRADING TO 4.0.M4
 
-* 4.0.M4 changes the way queries are stored in the mapping files, so all existing *.map.xml files should be upgraded.
-  To do that open each of your existing projects in the new CayenneModeler. Agree to perform an upgrade when asked.
+* Per CAY-2060 4.0.M4 changes the way queries are stored in the mapping files, so all existing *.map.xml files should be upgraded.
+  To do that open each of your existing projects in the new CayenneModeler. Agree to perform an upgrade when asked. 
+
+  Also EntityResolver.getQuery(String) method is removed. If you relied on it, consider switching to MappedSelect or MappedExec query, or if you absolutely need to get a hold of specific query, use EntityResolver.getQueryDescriptor(String).buildQuery().
 
 * Per CAY-2065 ROPHessianServlet has been discarded in favor of new implementation called ROPServlet,
   so if you were using org.apache.cayenne.configuration.rop.server.ROPHessianServlet in your web.xml configuration,