[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to deploy EJB3 Entity Bean into PersistenceUnit dyna

jantzen do-not-reply at jboss.com
Thu Nov 2 17:22:42 EST 2006


Probably you'd want to use the programmatic interface to EJB3Configuration to add new Class objects (for the new persistent classes), and then construct a new EntityManagerFactory from it.

See this section of the EntityManager docs for the programmatic interface:

  http://www.hibernate.org/hib_docs/entitymanager/reference/en/html/configuration.html

HTH,
Jantzen

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982794#3982794

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982794



More information about the jboss-user mailing list