if (log.isTraceEnabled())
if (trace)
   protected void removeTXRecord(Connection conn, Transaction tx) throws SQLException   {      PreparedStatement ps = null;      try      {         ps = conn.prepareStatement(deleteTransaction);         if (tx.getGuidTxId() != null)         {            ps.setString(1, tx.getGuidTxId());         }         else         {            ps.setLong(1, tx.getLongTxId());         }                  int rows = ps.executeUpdate();                  if (log.isTraceEnabled())         {            log.trace(JDBCUtil.statementToString(deleteTransaction, getTxId(tx)) + " removed " + rows + " row(s)");                     }      }      finally      {         try         {            if (ps != null)            {               ps.close();            }         }         catch (Throwable e)         {            //Ignore         }      }   }