if (log.isTraceEnabled()) { log.trace("got " + count + " message refs"); }
   public List messages(Serializable channelID) throws Throwable   {      if (log.isTraceEnabled()) { log.trace("Current transaction: " + currentTransactionToString()); }      List result = new ArrayList();      Connection conn = ds.getConnection();      String sql = "SELECT MESSAGEID, STOREID FROM MESSAGE_REFERENCES " +                   "WHERE CHANNELID = '" + channelID + "'";      ResultSet rs = conn.createStatement().executeQuery(sql);      if (log.isTraceEnabled()) { log.trace(sql); }      while (rs.next())      {         String id = rs.getString("MESSAGEID");         String storeID = rs.getString("STOREID");         result.add(new StorageIdentifier(id, storeID));      }      conn.close();      return result;   }