• Post Reply Bookmark Topic Watch Topic
  • New Topic

Ask How to get Hibernate Session in EJB3?..  RSS feed

 
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..
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!