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 information
APAR number PQ57340
Reported component name WEBSPHERE AE AI
Reported component ID 5630A2200
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-01-31
Closed date 2002-02-06
Last modified date 2002-02-06

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
DEPLOY          

Fix information
Fixed component name WEBSPHERE AE AI
Fixed component ID 5630A2200

Applicable component levels
R400 PSY    UP


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