PQ57340: EJB DEPLOYMENT TOOL FIXES FOR OPTIMISTIC CONCURRENCY PERSISTENCEOPTION | |||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||
APAR status Closed as program error. Error description This fix corrects a situation where the WebSphere EJB Deployment Tool would generate incorrect code in some situations where the Optimistic Concurrency persistence option had been enabled for a given EJB. Without this fix, code will be generated that will cause EJB transactions to be rolled back, along with the message "Differing number of predicates and values". This efix is a co-requisite of PQ56532, a set of EJB container fixes. That is, EJBs that are run through the deployment process on a machine with this efix installed must be run on a machine with PQ56532 installed, and vice-versa. This efix and PQ56532 are only applicable to WebSphere 4.0.2 installations -- WebSphere 4.0.1 does not provide the Optimistic Concurrency persistence option, and the fixes are slated for inclusion in WebSphere 4.0.3.Local fix Problem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server users of EJB * * deploy and optimistic concurrency. * **************************************************************** * PROBLEM DESCRIPTION: java.lang.RuntimeException when using * * Optimistic Concurrency * **************************************************************** * RECOMMENDATION: * **************************************************************** In certain situations where a bean has been enabled with the Optimistic Concurrency (also known as Optimistic Locking) persistence option, the wrong number of SQL predicates were placed in the SQL statement used to store the data in the persistent store. This resulted in an unexpected exception, causing the transaction that was in progress to be rolled back. The message "java.lang.RuntimeException: differing number of predicates and values" appears as part of the exception.Problem conclusion This fix corrects a situation where the WebSphere EJB Deployment Tool would generate incorrect code in some situations where the Optimistic Concurrency persistence option had been enabled for a given EJB. Without this fix, code will be generated that will cause EJB transactions to be rolled back, along with the message "Differing number of predicates and values". This efix is a co-requisite of PQ56532, a set of EJB container fixes.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ57340
IBM Group: Software Group
Modified date: Feb 6, 2002
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.