This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Ibatis insert is not commiting using JTA/UserTrasaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Ibatis insert is not commiting using JTA/UserTrasaction " Watch "Ibatis insert is not commiting using JTA/UserTrasaction " New topic
Author

Ibatis insert is not commiting using JTA/UserTrasaction

Abhie Singh
Greenhorn

Joined: Jan 07, 2012
Posts: 2

i am using ibatis insert with JTA trasaction.
My insert is not getting committed though i am using startTransaction commitTrasaction and endTrasaction(in finally block)

Also got to know that ibatis insert returns null.
If ibatis insert returns some value, will it commit the trasaction?

I have been using same code on stand alone java program using JDBC type driver and it is commiting.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ibatis insert is not commiting using JTA/UserTrasaction
 
Similar Threads
( IBatis ) After inserting values into database ibatis is returning null
Need help in iBatis !
Distributed Transaction
query regarding EJB transactions.
TimedOutException