User: mulder  
  Date: 00/07/03 17:11:15

  Modified:    src/main/org/jboss/minerva/xa XAResourceImpl.java
  Log:
  Close pools when jBoss is shut down.
  Fixes to transaction code.
  
  Revision  Changes    Path
  1.2       +2 -1      jboss/src/main/org/jboss/minerva/xa/XAResourceImpl.java
  
  Index: XAResourceImpl.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/jboss/src/main/org/jboss/minerva/xa/XAResourceImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XAResourceImpl.java       2000/06/02 13:48:48     1.1
  +++ XAResourceImpl.java       2000/07/04 00:11:14     1.2
  @@ -20,7 +20,7 @@
    * <P><FONT COLOR="RED"><B>Warning:</B></FONT></P> This implementation assumes
    * that forget will be called after a failed commit or rollback.  Otherwise,
    * the database connection will never be closed.</P>
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    * @author Aaron Mulder ([EMAIL PROTECTED])
    */
   public class XAResourceImpl implements XAResource {
  @@ -249,6 +249,7 @@
               throw new XAException(XAException.XAER_NOTA);
           if(con == null)
               throw new XAException(XAException.XA_RBOTHER);
  +        current = id;
           active = true;
       }
   }
  
  
  

Reply via email to