I'm using SMPC, and Hibernate is the underlying provider. I can't live without Criteria queries. Is it reasonable to do this:
@In("#{entityManager.delegate}")
private Session session;Well, something like that is suggested in section 8.4 of the manual.