We just added JDO support to our application using Data Nucleus. As I understand it, Data Nucleus also supports JPA so you should be able to use it as well. For this you need some bundles from Data Nucleus (core, rdbms, api-jpa?) plus a bundle for the JPA API itself (assuming JPA is setup the same as JDO).
Also, for Felix to work with Data Nucleus you will have to create an implementation of the org.datanucleus.plugiun.PluginRegistry interface for it to put all of the bundles together. They actually have it setup to work with Equinox if you follow their tutorial. I can give you more info if this looks like a solution for you. David Humeniuk -----Original Message----- From: Shai Amar [mailto:[email protected]] Sent: Wednesday, September 21, 2011 4:03 AM To: [email protected] Subject: OSGi JPA example Hi I have a simple problem and I hope that there is a simple solution. I would like to use JPA in Felix and store data in a MySQL server. I have been investigating this issue and I saw that there no simple example for this, also, the examples that exists do not work. Can anyone tell me what bundles do I need for JPA and MySQL and provide a simple example of how to use it? -- Regards Shai Amar Technologies manager, Founder Krynnlance www.krynnlance.com www.backapps.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

