Thanks jbonofre,

Looking at the sample, the main key differences I can see if your using
openjpa and the jpa 1.0.0 spec.

I tried using the 5.2.9 of hibernate as well as add  org.hibernate.jpa to my
import packages. I still shows the same log entry: 

 waiting for dependencies
[(&(osgi.unit.name=authentication)(objectClass=javax.persistence.EntityManager))]

The only other change I've noticed is the log entries that appear before
that line:

2017-06-06 16:31:25,504 | INFO  | nsole user karaf |
PersistenceBundleTracker         | 96 - org.apache.aries.jpa.container -
2.3.0 | Found persistence unit authentication in bundle
org.desolateplanet.authentication-db-impl with provider
org.hibernate.ejb.HibernatePersistence.
2017-06-06 16:31:25,507 | INFO  | nsole user karaf |
PersistenceBundleTracker         | 96 - org.apache.aries.jpa.container -
2.3.0 | Persistence units added for bundle
org.desolateplanet.authentication-db-impl event 128

At this point, I'm just about ready to give up and go back to using raw jdbc
calls :P



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050587.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to