title: warning:[unchecked] unchecked conversion
body: <p>I am getting following warning :</p>
  <pre><code>warning:[unchecked] unchecked conversion
  [javac]found:java.util.List
  [javac] required:java.util.List&lt;edu.fullerton.cs476s09.espressobar.jpa.espressobar_milk&gt;
  return query.getResultList();
  </code></pre>
  <p>What may be the problem and probable solution?
  I am using following code:</p>
  <pre><code>@Stateless
  @Remote(Order.class)
  //@EntityListeners(MyListener.class)
  public class OrderBean implements Order
  { 
      /**
       * The entity manager object, injected by the container
       */
  
      @PersistenceContext
      
      private EntityManager manager;
      
      public List&lt;espressobar_milk&gt; listMilk() 
      {
          Query query = manager.createQuery(&quot;SELECT m FROM espressobar_milk m&quot;);
          return query.getResultList();
      }...
  .....
  ..}
  </code></pre>