aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tranaction problem in CMT based MDB 3.0
 
Similar Threads
Transaction handling in stateless session bean.
Connecting Websphere 5.0 to Oracle 8.1.7
EJB timeout issue
Synchronizing MDBs
embedding a update & get in a ejb transaction