title: detachedcriteria and detachedquery without EntityManager
body: <p>I have one question concerning JPA:
  Is there a way to simulate DetachedCriteria (from Hibernate) using the api of JPA 2.0 ?</p>
  
  <p>And if there is a way which classes I need to extend in order to achieve this?</p>
  
  <p>I'm using hibernate 3.6.5 and hibernate-jpa-2.0-api-1.0.0.Final.</p>