DetachedCriteria is currently not supported by Criteria4JPA. I never
used DetachedCriteria very often with Hibernate. For inner selects I'm
always using Restrictions.jpqlRestriction() of Criteria4JPA.
If you really need DetachedCriteria and are using Hibernate under the
covers, you should directly use the Hibernate Criteria API. You can
get the current Hibernate session from the EntityManager this way:
Session session = (Session) entityManager.getDelegate();
I hope this helps. :)
Christian
2011/7/28 stan...@yahoo.fr <kindersur...@yahoo.fr>:
--
Christian Kaltepoth
Blog: http://chkal.blogspot.com/
Twitter: http://twitter.com/chkal
ok tx you i use hibernate detached criteria --- En date de : Jeu 28.7.11, Christian Kaltepoth <chri...@kaltepoth.de> a écrit : |