[jboss-user] [JBoss Eclipse IDE (users)] - Hibernate Tools Beta 9 JPA Persistence Unit

bytor99999 do-not-reply at jboss.com
Thu Feb 15 14:23:58 EST 2007

So we have a persistence.xml but it points to a DataSource and will put the EntityManagerFactory into JNDI. So in order to get the DataSource, the app server would need to be running.

Is there a way to config hibernate tools to use this persistence.xml without having to startup JBoss AS and get Eclipse to code complete for HQL etc?

The configuration of Hibernate Tools can either have your browse and choose your hibernate.cfg.xml, if you have one, or type in a persistence unit name, not be able to browse and choose a persistence.xml.


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

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

More information about the jboss-user mailing list