Hi all,
I want to know how to use hibernate detached Criteria objects with ejb3.
I have a struts action. I want to create a Detatched criteria object and pass it into a session bean method. Can someone show me an example of how to do this?
thanks very much,
Brian
Have you seen our Hibernate integration with EJB3? You can easily convert an EntityManager to a Hibernate Session, or you can inject a Hibernate Session directly using the @PersistenceContext annotation.