Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ask How to get Hibernate Session in EJB3?..

 
Leonardo Carreira
Ranch Hand
Posts: 494
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends..

is there any way to get Hibernate Session in EJB3?..
as we know that in EJB3 if we want to manipulating Data we have to use EntityManager..
then is it possible to Convert EntityManager to HibernateEntityManager for manipulating data by using Hibernate Session?..
especially i want to work with Hibernate Criteria API which needs Hibernate Session..

Correct me if i am wrong..

Thanks in advance..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic