[jboss-user] [EJB 3.0] - Separate JARs for Entity and Session beans

hipa do-not-reply at jboss.com
Wed Oct 8 00:06:05 EDT 2008


Is it possible to separate my entityies and session beans? If I don't add persistence.xml to the JAR with entities hibernate don't see them (no tables will be created). If I add persistence.xml to both session beans JAR and entities JAR hibernate generate IllegalArgumentException: Unknown entity on each EntityManager call.

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

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



More information about the jboss-user mailing list