sub = super.createDurableSubscription(topicName, clientID, name, selector);
sub = super.createDurableSubscription(topicName, clientID, name, selector, noLocal);
   public DurableSubscription getDurableSubscription(String clientID, String subscriptionName)      throws JMSException   {      //Look in memory first      DurableSubscription sub = super.getDurableSubscription(clientID, subscriptionName);      if (sub != null)      {         return sub;      }      try      {         Connection conn = null;         PreparedStatement ps  = null;         ResultSet rs = null;         TransactionWrapper wrap = new TransactionWrapper();         try         {            conn = ds.getConnection();            ps = conn.prepareStatement(selectSubscription);            ps.setString(1, clientID);            ps.setString(2, subscriptionName);            boolean exists = false;            try            {               rs = ps.executeQuery();               exists = rs.next();            }            finally            {               if (log.isTraceEnabled())               {                  String s = JDBCUtil.statementToString(selectSubscription, clientID, subscriptionName);                  log.trace(s + (rs == null ? " failed!" : (exists ? " returned rows" : " did NOT return rows")));               }            }            if (exists)            {               String name = rs.getString(1);               String topicName = rs.getString(2);               String selector = rs.getString(3);               // create in memory               sub = super.createDurableSubscription(topicName, clientID, name, selector);               // load its state               sub.load();            }            return sub;         }         finally         {            if (rs != null)            {               rs.close();            }            if (ps != null)            {               ps.close();            }            if (conn != null)            {               conn.close();            }            wrap.end();         }      }      catch (Exception e)      {         final String msg = "Failed to get subscription";         log.error(msg, e);         JMSException e2 = new JMSException(msg);         e2.setLinkedException(e);         throw e2;      }   }