deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject deltaspike git commit: trying to make clearer the weld alternative activation
Date Sat, 06 Aug 2016 13:41:32 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 1577c985b -> a1827f70c


trying to make clearer the weld alternative activation


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

Branch: refs/heads/master
Commit: a1827f70c9b871f6d15336ce557d23f12996c934
Parents: 1577c98
Author: Romain manni-Bucau <rmannibucau@gmail.com>
Authored: Sat Aug 6 15:41:19 2016 +0200
Committer: Romain manni-Bucau <rmannibucau@gmail.com>
Committed: Sat Aug 6 15:41:19 2016 +0200

----------------------------------------------------------------------
 documentation/src/main/asciidoc/jpa.adoc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/a1827f70/documentation/src/main/asciidoc/jpa.adoc
----------------------------------------------------------------------
diff --git a/documentation/src/main/asciidoc/jpa.adoc b/documentation/src/main/asciidoc/jpa.adoc
index a5b3146..32f8ae8 100644
--- a/documentation/src/main/asciidoc/jpa.adoc
+++ b/documentation/src/main/asciidoc/jpa.adoc
@@ -564,9 +564,11 @@ than the production settings, you can use
 `org.apache.deltaspike.jpa.impl.transaction.EnvironmentAwareTransactionStrategy`
 instead.
 
-NOTE: In case of some versions of Weld (or OpenWebBeans in BDA mode), you have
+NOTE: In case of some versions of Weld - including several versions of JBoss EAP/Wildfly
and Websphere Liberty Profile -
+or OpenWebBeans in BDA mode - which is not the default one, you have
 to configure it as a <<spi.adoc#GlobalAlternative,global alternative>> instead
of an `alternative` in
 `beans.xml`. That means you have to add, for example,
 `globalAlternatives.org.apache.deltaspike.jpa.spi.transaction.TransactionStrategy 
-=org.apache.deltaspike.jpa.impl.transaction.BeanManagedUserTransactionStrategy`
+=org.apache.deltaspike.jpa.impl.transaction.BeanManagedUserTransactionStrategy` or 
+`globalAlternatives.org.apache.deltaspike.jpa.spi.transaction.TransactionStrategy = org.apache.deltaspike.jpa.impl.transaction.ContainerManagedTransactionStrategy`

 to `/META-INF/apache-deltaspike.properties`.


Mime
View raw message