Hi All,

I work on the DERBY-2220 and I found out that the function close of org.apache.derby.impl.drda.Database class contains the following code

   if (! forXA)
   {
       conn.rollback();
   }
   conn.close();
Does anybody know the reason for doing this? I can not find out any. In my opinion it makes no sense not to execute rollback if the socket is closed. There might be some special case for doing this but there are lot of cases when it makes no sense - like application crash.

Cheers

Julo

Reply via email to