Hi,
I am MDB with container transaction, my MDB invoke when any message come in queue ,I process the message and insert the record in DB after inserting in DB I call another method to get some other detail from DB,this is throwing exception .
all transaction happening in onMessage();
I want if any exception occurs then it should roll back and there should not be any record in DB.
But it is not happening like that it is not removing inserted record from DB.
pl solve my problem
Thanks
Manish
I am MDB with container transaction, my MDB invoke when any message come in queue ,I process the message and insert the record in DB after inserting in DB I call another method to get some other detail from DB,this is throwing exception .
all transaction happening in onMessage();
I want if any exception occurs then it should roll back and there should not be any record in DB.
But it is not happening like that it is not removing inserted record from DB.
pl solve my problem
Thanks
Manish