Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Tranaction problem in CMT based MDB 3.0

 
Greenhorn
Posts: 1
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
In my application there is a EJB project and a JAVA project.
The onMessage Method of the MDB gets the Message from the MQ and sends that data to one of the DAO in JAVA project where data gets inserted in DataBase.
I am using the container based transaction for the MDB. i have not done anything regarding the transaction excepts this.
Now my problem is according the loggers data is inserted successfully, i am using session.save() method which returns primary key, i am also getting this.
But when i check in DataBase, data is NOT present there.
Is there anything more i need to do for CMT based MDB.

Thanks in advance..

Regards,
Piyush
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic