-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: HibernateEntityManager instances within EJB3 Cont. in GFv3
PostPosted: Wed Aug 25, 2010 9:26 am 
Newbie

Joined: Wed Aug 25, 2010 9:02 am
Posts: 1
Hi, All

I am using Glassfishv3 and hibernate3.5.0-Final as persistence provider in my EJB3 application; and i want to use Hibernate's some specific functions through Hibernate Session...I'm trying to get EntityManager instance of Hibernate(HibernateEntityManager implementation) not com.sun.enterprise.container.common.impl.EntityManagerWrapper...Whenever i get an InitialContext by JNDI, it always returns an instance of that wrapper to manage my entities in the PersistenceContext...

In other words, like JBoss Server uses HibernateEntityManager's and HibernateEntityManagerFactory's implementations as default, Can i use them in Glassfishv3? If it is possible, how? Moreover, I can use Hibernate as persistence provider but this is not enough for my application...

Thanks for your replies in advance.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.