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 2014/11/27 08:12:11 UTC

[28/39] cayenne git commit: clarifying tx UPGRADE notes

clarifying tx UPGRADE notes


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

Branch: refs/heads/CAY-1946_1
Commit: 447dce9dadedf027aa8257878c5b991093b66856
Parents: fba700d
Author: aadamchik <aa...@apache.org>
Authored: Mon Nov 24 12:11:37 2014 +0300
Committer: aadamchik <aa...@apache.org>
Committed: Mon Nov 24 12:11:37 2014 +0300

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


http://git-wip-us.apache.org/repos/asf/cayenne/blob/447dce9d/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 c7ade60..6e95053 100644
--- a/docs/doc/src/main/resources/UPGRADE.txt
+++ b/docs/doc/src/main/resources/UPGRADE.txt
@@ -33,11 +33,14 @@ UPGRADING TO 4.0.M2
 
 * Transaction management was refactored significantly:
 
-* External transactions are no longer configured in the Modeler. Instead they are provided as a DI property
-  defined in Constants.SERVER_EXTERNAL_TX_PROPERTY.
+  * External transactions are no longer configured in the Modeler. Instead they are provided as a DI property
+    defined in Constants.SERVER_EXTERNAL_TX_PROPERTY.
 
-* TransactionDelegate is no longer present. Similar functionality can be achieved by writing a decorator for 
-  Transaction interface and using a custom TransactionFactory to decorate standard transactions.
+  * TransactionDelegate is no longer present. Similar functionality can be achieved by writing a decorator for 
+    Transaction interface and using a custom TransactionFactory to decorate standard transactions.
+
+  * If your code relied on static methods Transaction.externalTransaction() or Transaction.internalTransaction() for
+    manual tx management, use constructors of ExternalTransaction and CayenneTransaction classes instead.
 
 * When switching to ServerRuntimeBuilder, users of multi-config projects may erroneously assume it has the same 
   behavior as 3.1 ServerRuntime in assigning domain name to the resulting merged project. Which is to use the