BMP stateless session bean can't roll back using JTA

don_henley 2003-02-12 01:48:05
I use weblogic6.1sp2 + jdk131

a stateless session bean must do 2 things:
insert a record to A table and delete another record in A table

this bean has the same structure as the example in
j2eetutorial/examples/src/ejb/teller

I use TxDataSource in weblogic

if delete fail, the roll back is run,but in database,
the insert record is STILL in A table.

any idea?
...全文
22 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧