Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » JPA, separate bundles for model and services (How to configure JPA for separate model and service )
JPA, separate bundles for model and services [message #962986] Mon, 29 October 2012 09:35 Go to previous message
Erik Vande Velde is currently offline Erik Vande Velde
Messages: 60
Registered: September 2012
Member
I separated out the model of my application and the services that use this model. Now I'm not sure how I should configure JPA in the OSGi world. Do I put the persistence.xml in the model module or in the service? I opted to put it in the service, but then it complains that it didn't find any entities, while many classes in the model module carry the '@Entity' annotation.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic:virgo distribution without user region and with repository
Next Topic:dynamic jasper osgi bundle
Goto Forum:
  


Current Time: Wed May 22 16:15:21 EDT 2013

Powered by FUDForum. Page generated in 0.01583 seconds