This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Tranaction problem in CMT based MDB 3.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Tranaction problem in CMT based MDB 3.0" Watch "Tranaction problem in CMT based MDB 3.0" New topic
Author

Tranaction problem in CMT based MDB 3.0

Piyush Mumbai
Greenhorn

Joined: Sep 08, 2011
Posts: 1

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
 
wood burning stoves
 
subject: Tranaction problem in CMT based MDB 3.0