title: Type conversion from DAO to controller
body: <p>I am stuck in the below issue. I tried to trace out but couldn't. 
  Can you guys please do me a favour to solve this issue.</p>
  
  <p>In my controller :</p>
  
  <pre><code>Long id = '1425652';
  Collection&lt;Long&gt; propIds =  externalTaxManager.getPropertyIdsByTaxId(id); // I have an issue here
  Map&lt;Long, Long&gt; propIdToOnegIdMap = externalTaxManager.mapPropertiesToOnegIds(propIds);
  </code></pre>
  
  <p>In my DaoImpl :</p>
  
  <pre><code>public Collection&lt;Long&gt; getPropertyIdsByTaxId(Long externalTaxId){
          SQLQuery query = currentSession().createSQLQuery("select b.OMH_PROPERTY_ID from OMH.OMH_EXTERNAL_TAX a , OMH.OMH_EXTERNAL_TAX_PROP_XREF b\n" +
                  "where a.OMH_EXTERNAL_TAX_ID=b.OMH_EXTERNAL_TAX_ID and a.OMH_EXTERNAL_TAX_ID= :externalTaxId ");
          query.setParameter("externalTaxId", externalTaxId);
          List&lt;Long&gt; result = query.list();
          return result;
  }
  </code></pre>
  
  <p>Here, b.OMH_PROPERTY_ID is long type. There are more than 1000 records in DB for each externalTaxId we pass. </p>
  
  <p>But there is a type mismatch when I am returning from DAO to Controller. I need propIds Collection&lt; Long> only.</p>
  
  <p>Error stacktrace :</p>
  
  <pre><code>/ExternalTaxManagerImpl.java:421: cannot find symbol
  symbol  : method getPropertyIdsByTaxId(java.lang.Long)
  location: interface com.orbitz.omh.property.das.svc.ExternalTaxDataService
          return externalTaxDataService.getPropertyIdsByTaxId(externalTaxId);
  </code></pre>
  
  <p>Thanks in advance.</p>