Can't commit transaction through Servlet

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Can't commit transaction through Servlet

msg2ajay
Hi,

I using Servlet and to call ibatis sqlMapClient to commit my transaction but I am not about to commit. I have given below the details.
The most important thing is i am able to retrieve data from database using same sqlMapClient.

sqlMapClient.startTransaction();

--- do some operation get populate the object to commit.

sqlMapClient.commitTransaction();
sqlMapClient.endTransaction();


My flow is like
Servlet ==> Java class ==> ibatis.

any  suggestions much much  appreciated.
Loading...