Hi Kevin,
So, how do other people use (Open)JPA within OSGi?
See http://blog.luminis.nl/roller/luminis/entry/jpa_persistence_in_osgi_with and http://blog.luminis.nl/roller/luminis/entry/persistence_in_osgi_with_openjpa .
Although the code samples are simple (maybe even simplistic), this is how i've used OpenJPA in a real world project.
Note that i'm not publishing an EntityManager service. I prefer to hide the persistence details behind a business interface.
Is it maybe better, to switch to Hibernate with database XXX?
I wouldn't recommand that. Using a standard is always better, especially when that standard is widely used - and JPA is.
Regards, Peter
Yet, there must be a solution for it!? Thanks for reply, Kevin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

