[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: getting a handle on Session
do-not-reply at jboss.com
Wed Jan 30 13:29:36 EST 2008
Sorry for the delay. We're using EJB3 and we have the EntityManager injected. I don't see methods in EntityManager that allow us to get a handle on the Hiberhate SessionFactory - am I missing something?
What we're really trying to do is use a Criteria to filter our query results from the database. Following that down, we can eventually do a getCriteria...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124902#4124902
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124902
More information about the jboss-user