Hi,
You don't need to export he META-INF directory, as the openjpa bundle
will find check the persistence.xml for your whether your bundle export
the META-INF directory or not.
Please make sure you install a right version of openjpa bundle.
Mine is
org.apache.servicemix.bundles/org.apache.servicemix.bundles.openjpa/1.2.1_1-SNAPSHOT
Willem
kodcanavari wrote:
i think my persistency.xml is never read because i got this error:
org.apache.camel.FailedToCreateProducerException: Failed to create Producer
for endpoint:
Endpoint[jpa://com.xxx.routecsvoracle.EntityBean?persistenceUnit=postgres].
Reason: javax.persistence.PersistenceException: Found
'javax.persistence.provider' property in the map but the value is not a
String. Found object : 'null'.
OK, so how can i export the META-INF with bnd plugin?
What is the good syntax for it? (i know it's forbidden by OSGi spec but i
think, i don't have any other choice)
Thanks.