• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

TRANSACTIONBACKEXCEPTION

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic