-->
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: Update EntityManagerFactory
PostPosted: Mon Jul 10, 2006 11:04 am 
Newbie

Joined: Thu Jul 06, 2006 12:01 pm
Posts: 5
I have several EntityManagerFactory in my application, created using an
Ejb3Configuration using method (createEntityManagerFactory()).

I need to update the factory every time i add a new Annotated class (EntityBean) to the ejb3Configuration instance using the method addAnnotatedClass(Class clazz) but i can`t see any method i can use to update the factory, to make it recognize the new EntityBean.

If i want to do it, i have to create a new EntityManagerFactory from the Ejb3Configuration updated.

Any comments to make it will be appreciated.


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.