Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
爱吃血肠
spring-framework
提交
abc47e56
S
spring-framework
项目概览
爱吃血肠
/
spring-framework
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
spring-framework
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
abc47e56
编写于
6月 25, 2009
作者:
T
Thomas Risberg
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
updated WebSphere and WebLogic transaction manager sections to reflect currently supported versions
上级
efb63fb5
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
4 addition
and
19 deletion
+4
-19
spring-framework-reference/src/transaction.xml
spring-framework-reference/src/transaction.xml
+4
-19
未找到文件。
spring-framework-reference/src/transaction.xml
浏览文件 @
abc47e56
...
...
@@ -1898,34 +1898,19 @@ txManager.commit(status);]]></programlisting>
<section
id=
"transaction-application-server-integration-websphere"
>
<title>
IBM WebSphere
</title>
<para>
On WebSphere 6.
0
and above, the recommended Spring JTA transaction
<para>
On WebSphere 6.
1.0.9
and above, the recommended Spring JTA transaction
manager to use is
<classname>
WebSphereUowTransactionManager
</classname>
.
This special adapter leverages IBM's
<interfacename>
UOWManager
</interfacename>
API which is available in WebSphere Application Server 6.0.2.19 or above
and 6.1.0.9 or above. With this adapter, Spring-driven transaction suspension
(suspend/resume as initiated by
<literal>
PROPAGATION_REQUIRES_NEW
</literal>
)
is officially supported by IBM!
</para>
<para>
In a WebSphere 5.1 environment, you may wish to use
Spring's
<classname>
WebSphereTransactionManagerFactoryBean
</classname>
class. This is a factory bean which retrieves the JTA
<interfacename>
TransactionManager
</interfacename>
in a WebSphere environment, which
is done via WebSphere's
<literal>
static
</literal>
access methods.
Once the JTA
<interfacename>
TransactionManager
</interfacename>
instance has
been obtained via this factory bean, Spring's
<classname>
JtaTransactionManager
</classname>
may be configured with a
reference to it, for enhanced transaction semantics over the use of only
the JTA
<interfacename>
UserTransaction
</interfacename>
object.
Please see the Javadocs for full details.
</para>
<para><emphasis>
Note that
<classname>
WebSphereTransactionManagerFactoryBean
</classname>
usage is known to work on WAS 5.1 and 6.0 but is not officially supported
by IBM.
</emphasis>
Prefer
<classname>
WebSphereUowTransactionManager
</classname>
when running on WAS 6.0 or higher (see above).
</para>
</section>
<section
id=
"transaction-application-server-integration-weblogic"
>
<title>
BEA WebLogic
</title>
<para>
On WebLogic
8.1
or above, you will generally prefer to use
the
<classname>
WebLogicJtaTransactionManager
</classname>
instead
<para>
On WebLogic
9.0
or above, you will generally prefer to use
the
<classname>
WebLogicJtaTransactionManager
</classname>
instead
of the stock
<classname>
JtaTransactionManager
</classname>
class.
This special WebLogic-specific subclass of the normal
<classname>
JtaTransactionManager
</classname>
supports the full power of
...
...
@@ -1937,7 +1922,7 @@ txManager.commit(status);]]></programlisting>
<section
id=
"transaction-application-server-integration-oc4j"
>
<title>
Oracle OC4J
</title>
<para>
Spring ships a special adapter class for OC4J 10.1.3 or above:
<classname>
OC4JJtaTransactionManager
</classname>
. This is analogous to
<classname>
OC4JJtaTransactionManager
</classname>
. This is analogous to
the
<classname>
WebLogicJtaTransactionManager
</classname>
class discussed
in the previous section, providing similar value-adds on OC4J:
transaction names and per-transaction isolation levels.
</para>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录