Hi Christian:

karaf@root()> service:list EntityManagerFactory
[javax.persistence.EntityManagerFactory]
----------------------------------------
 osgi.unit.name = salazarJPA
 osgi.unit.provider = org.hibernate.jpa.HibernatePersistenceProvider
 osgi.unit.version = 0.0.1
 service.bundleid = 168
 service.id = 206
 service.scope = singleton
Provided by :
 DataBaseService (168)

For some reason if I change to Hibernate 4.2.15 the EntityManagerFactory not
registry.

On the other hand, I know the EntityManger not injected because an exception
occurs when using it (it is null).




--
View this message in context: 
http://karaf.922171.n3.nabble.com/Migration-to-Karaf-4-0-1-tp4042982p4043016.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to