lt;derby-user@db.apache.org>
Subject: Re: Shutdown Derby database using JPA not DriverManager
You should avoid using Persistence.createEntityManagerFactory. It does not work
well in OSGi. Instead use Aries JPA or Aries transaction control.
Both can provide you with a fully configured Enti
cschneider...@gmail.com] On Behalf Of
Christian Schneider
Sent: Monday, January 2, 2017 07:32
To: Derby Discussion <derby-user@db.apache.org>
Subject: Re: Shutdown Derby database using JPA not DriverManager
You should avoid using Persistence.createEntityManagerFactory. It does not work
well in OSGi. I
You should avoid using Persistence.createEntityManagerFactory. It does
not work well in OSGi. Instead use Aries JPA or Aries transaction control.
Both can provide you with a fully configured EntityManagerFactory and
EntityManager that copes well with the dynamics of OSGi.
Christian
On