conn = ds.getConnection();
conn = getConnection();
   public void updateReliableReferencesLoadedInRange(long channelID, long orderStart, long orderEnd) throws Exception   {      if (trace)      {         log.trace("Updating reliable references for channel " + channelID + " between " + orderStart + " and " + orderEnd);      }            Connection conn = null;      PreparedStatement ps = null;      TransactionWrapper wrap = new TransactionWrapper();            try      {         conn = ds.getConnection();                  ps = conn.prepareStatement(updateReliableRefs);                  ps.setLong(1, orderStart);                  ps.setLong(2, orderEnd);                  ps.setLong(3, channelID);                  int rows = ps.executeUpdate();                  if (trace)         {            log.trace(JDBCUtil.statementToString(updateReliableRefs, new Long(channelID),                  new Long(orderStart), new Long(orderEnd))                  + " updated " + rows + " rows");         }      }      catch (Exception e)      {         wrap.exceptionOccurred();         throw e;      }      finally      {         if (ps != null)         {            try            {               ps.close();            }            catch (Throwable e)            {            }         }         if (conn != null)         {            try            {               conn.close();            }            catch (Throwable e)            {            }         }         wrap.end();      }   }