Hi Matt,
Sorry, my English is very bad, It's difficult for me to explain my problem.
My Application consists of two bundle :
- a bundle specific for each customer
- a bundle for persistence, same for every customer (same api, same
implementation)
But each customer has its own database, so each customer has its own
persistence unit. I don't known how to attach multiple persistence unit
to one bundle. i use OpenJPA and Apache Aries for persistence.
I will test it with a fragment containing a persistence unit.
Thanks
Damien
Le 06/12/11 03:48, Matt Madhavan a écrit :
Hi Damien,
Do not quite understand your exact req! Can you please explain a bit more?
Sounds link you may solve your issue with OSGi fragments! But mean
while pl explain your req a bit more!
Thanks
Matt
On Dec 5, 2011 6:31 AM, "Damien Fontaine" <[email protected]
<mailto:[email protected]>> wrote:
Hi !
I have a little problem with my architecture on Apache
Aries/Karaf. I hope to post in the right place.
My project is composed of one OSGI/JPA bundle and one database per
customer but i want several customers on my instance Apache Karaf.
So, how to have one OSGI bundle for several databases ? Or one
OSGI bundle per database ?
Thanks,
Damien