Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple update problem

Ådne Brunborg
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Concider the following code, using the ScopeEJB CMP entity bean, scopeLH is the (guess what) LocalHome for the bean.

using wsOptimisticUpdate results in in the container's postInvoke.

using wsPessimisticUpdate results in "An illegal attempt to use multiple resources that have only one-phase capability has occurred within a global transaction" and a java.lang.IllegalStateException on the finder.

Any suggestions as to what to do?

Using WSAD 5.1
[ October 11, 2005: Message edited by: �dne Brunborg ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic