I compared the DEBUG logs with and without the additional hibernate version
and noticed that the last line was missing with hibernate 5 only. Maybe that
gives a hint about the problem.
/2016-01-08 12:40:28,868 | DEBUG | .aries.jpa.pra]) | LogHelper
| 87 - org.jboss.logging.jboss-logging - 3.3.0.Final | PersistenceUnitInfo [
name: pra
persistence provider classname:
org.hibernate.jpa.HibernatePersistenceProvider
classloader: pra-osgi-sid [89]
excludeUnlistedClasses: true
JTA datasource: oracle.jdbc.pool.OracleDataSource@629ec43d
Non JTA datasource: null
Transaction type: JTA
PU root URL: bundle://89.0:1/
Shared Cache Mode: UNSPECIFIED
Validation Mode: NONE
Jar files URLs []
Managed classes names [
com.ge.pra.sid.RootEntity]
Mapping files names []
Properties [
hibernate.dialect: org.hibernate.dialect.Oracle10gDialect
hibernate.archive.autodetection: class
hibernate.connection.driver_class: oracle.jdbc.OracleDriver
hibernate.hbm2ddl.auto: create]
2016-01-08 12:40:28,868 | DEBUG | .aries.jpa.pra]) | IntegratorServiceImpl
| 87 - org.jboss.logging.jboss-logging - 3.3.0.Final | Adding Integrator
[org.hibernate.cfg.beanvalidation.BeanValidationIntegrator].
2016-01-08 12:40:28,868 | DEBUG | .aries.jpa.pra]) | IntegratorServiceImpl
| 87 - org.jboss.logging.jboss-logging - 3.3.0.Final | Adding Integrator
[org.hibernate.secure.spi.JaccIntegrator].
2016-01-08 12:40:28,869 | DEBUG | .aries.jpa.pra]) | IntegratorServiceImpl
| 87 - org.jboss.logging.jboss-logging - 3.3.0.Final | Adding Integrator
[org.hibernate.cache.internal.CollectionCacheInvalidator].
2016-01-08 12:40:28,869 | DEBUG | .aries.jpa.pra]) | IntegratorServiceImpl
| 87 - org.jboss.logging.jboss-logging - 3.3.0.Final | Adding Integrator
[org.hibernate.jpa.event.spi.JpaIntegrator].
2016-01-08 12:40:28,876 | DEBUG | FelixStartLevel | container
| 70 - org.apache.aries.jpa.container - 2.2.0 | ServiceEvent REGISTERED -
[org.osgi.service.jpa.EntityManagerFactoryBuilder] -
org.apache.aries.jpa.container/
--
View this message in context:
http://karaf.922171.n3.nabble.com/Injection-Problem-with-JPA-and-Camel-in-Karaf-4-0-3-tp4044627p4044708.html
Sent from the Karaf - User mailing list archive at Nabble.com.