I am developing an application in which an instance of CMP entity bean is created using session bean facade through VAJ4.0. When i run the
test clients through VAJ , it runs fine, but when i deploy the app inside WAS4.0, it gives an exception TransactionRolledBackException. In session bean, i first execute a query to get the max(id) , and then using this id, i create the entity instance. The transaction attribute for both type of beans is set at REQUIRED.
The database used is DB2 UDB7.1