• Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple update problem  RSS feed

Å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 com.ibm.ws.ejbpersistence.utilpm.OptimisticUpdateFailedException 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
Boost this thread!