• 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
  • Paul Clapham
  • Tim Cooke
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst
  • Peter Rooke
  • Mikalai Zaikin
Bartenders:
  • Himai Minh

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
 
reply
    Bookmark Topic Watch Topic
  • New Topic