Hi,

You just need to put the persistency.xml into your bundle's META-INF directory (your bundle also need to export this META-INF package), and the servicemix-jpa bundle will find this file automatically.

Willem

kodcanavari wrote:
Hi,

Actually i'm developping camel routes under OSGi, so i create bundles and
deploy them onto a OSGi framework with camel-core bundles on it. Everything
is ok but:

I neet to use the JPA component in order to map an entity bean to the
database, but i don't know were to put the persistency.xml. Is there any way
to tell it by a programmatic way ? If not where can i put it?

Reply via email to