Transaction issue?

"Dhanya Unnikrishnan" <[email protected]>
Newsgroups gmane.linux.redhat.ccm.general
Message-ID <[email protected]>
I am trying to insert data into a table, and update another table, one after the other. I do it this way:

1) Begin the transaction.
2) Insert into table A
3) Commit the transaction.
4) Update table B

Update table B doesn't happen. When I comment the insert into table A, update to table B works. Why is this happening? Where did I go wrong? I read that BaseServlet handles all the transactions. Do I have to use the BaseServlet? I have a servlet for my application. How do I make use of BaseServlet along with my servlet?

Thanks,
Dhanya.


Information contained in this E-MAIL being proprietary to Tricon Infotech Private Limited  is
'privileged' and 'confidential' and intended for use only by the individual or entity to which it 
is addressed. You are notified that any  use, copying or  dissemination  of the  information 
contained in this E-MAIL in any manner whatsoever is strictly prohibited.


-- 
Redhat-ccm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-ccm-list
Archives: https://www.redhat.com/pipermail/redhat-ccm-list/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.