• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ibatis insert is not commiting using JTA/UserTrasaction

 
Abhie Singh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic