Hi Peter,

I am aware that this answer is not a perfect match for your request - it 
doesn't really deal with caching, security or transactions... but it _is_ 
about
persistence in the OSGi world, and it defines and persists entities, as 
well as it tests the persistence mechanism. 

The code utilizes a persistence unit, injects an EntityManagerFactory as an 
OSGi service, sets up the database (that is it runs the DDL, and it
populates the database with some initial data [using flyway]).

And, of course, it uses bnd(tools).

I wrote a blog 
post<http://skysailserver.blogspot.de/2013/11/using-flyway-with-osgi-part-one.html>where
 I put down all the details and I am curious about your feedback (if 
you like).

Carsten


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to