karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-4253) Two EntityManagers present if two hibernate bundles are available
Date Thu, 14 Jan 2016 13:33:39 GMT

     [ https://issues.apache.org/jira/browse/KARAF-4253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christian Schneider resolved KARAF-4253.
----------------------------------------
    Resolution: Won't Fix

It seems this behaviour is expected by the spec. Unfortunately I did not get responses from
the OSGi-dev list.

> Two EntityManagers present if two hibernate bundles are available
> -----------------------------------------------------------------
>
>                 Key: KARAF-4253
>                 URL: https://issues.apache.org/jira/browse/KARAF-4253
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.3
>            Reporter: Christian Niehues
>            Assignee: Christian Schneider
>
> If two hibernate bundles are active in karaf two EntityManager will be available for
each datasource.
>  ID | State  | Lvl | Version             | Name
> ---------------------------------------------------------------------------------------------
>  52 | Active |  80 | 1.1.0               | ClassMate
>  53 | Active |  80 | 3.18.1.GA           | Javassist
>  55 | Active |  80 | 1.2.0               | CDI APIs
>  56 | Active |  80 | 1.2                 | javax.interceptor API
>  58 | Active |  80 | 2.1.0.v201304241213 | Java Persistence API 2.1
>  60 | Active |  80 | 1.2                 | javax.transaction API
>  62 | Active |  80 | 1.0.0.SNAPSHOT      | angular-ui
>  63 | Active |  80 | 1.0.0.SNAPSHOT      | model
>  64 | Active |  80 | 1.0.0.SNAPSHOT      | persistence
>  65 | Active |  80 | 1.0.0.SNAPSHOT      | service
>  71 | Active |  80 | 2.2.0               | Apache Aries JPA Container API
>  72 | Active |  80 | 2.2.0               | Apache Aries JPA blueprint
>  73 | Active |  80 | 2.2.0               | Apache Aries JPA container
>  74 | Active |  80 | 2.2.0               | Apache Aries JPA support
>  75 | Active |  80 | 1.1.1               | Apache Aries Transaction Blueprint
>  76 | Active |  80 | 2.0.0               | Apache Aries Transaction Blueprint
>  77 | Active |  80 | 1.3.0               | Apache Aries Transaction Manager
>  78 | Active |  80 | 2.1.0               | Apache Commons DBCP
>  79 | Active |  80 | 2.4.1               | Apache Commons Pool
>  89 | Active |  80 | 1.0.0               | Apache Felix Coordinator Service
>  95 | Active |  80 | 1.8.2.2             | Apache ServiceMix :: Bundles :: ant
>  96 | Active |  80 | 2.7.7.5             | Apache ServiceMix :: Bundles :: antlr
>  97 | Active |  80 | 3.0.0.1             | Apache ServiceMix :: Bundles :: cglib
>  98 | Active |  80 | 1.6.1.5             | Apache ServiceMix :: Bundles :: dom4j
> 100 | Active |  80 | 1.0.0.2             | Apache ServiceMix :: Bundles :: javax.inject
> 136 | Active |  80 | 1.3.172             | H2 Database Engine
> 137 | Active |  80 | 4.0.4.Final         | hibernate-commons-annotations
> 138 | Active |  80 | 4.3.6.Final         | hibernate-core
> 139 | Active |  80 | 4.3.6.Final         | hibernate-entitymanager
> 140 | Active |  80 | 4.3.6.Final         | hibernate-osgi
> 143 | Active |  80 | 1.0.2.Final         | JACC 1.4 API
> 144 | Active |  80 | 0.7.0               | OPS4J Pax JDBC Config
> 145 | Active |  80 | 0.7.0               | OPS4J Pax JDBC Pooling Support Base
> 146 | Active |  80 | 0.7.0               | OPS4J Pax JDBC Pooling Support using Commons-DBCP2
> 156 | Active |  80 | 1.0.0.201505202023  | org.osgi:org.osgi.service.jdbc
> 159 | Active |  80 | 5.0.6.Final-karaf   | hibernate-osgi
> 160 | Active |  80 | 1.1.1               | geronimo-jta_1.1_spec
> 161 | Active |  80 | 5.0.1.Final         | hibernate-commons-annotations
> 162 | Active |  80 | 5.0.6.Final         | hibernate-core
> 163 | Active |  80 | 5.0.6.Final         | hibernate-entitymanager
> 164 | Active |  80 | 1.0.0.Final         | hibernate-jpa-2.1-api
> 165 | Active |  80 | 5.0.6.Final         | hibernate-osgi
> 166 | Active |  80 | 2.0.0.Final         | Java Annotation Indexer
> 167 | Active |  80 | 3.3.0.Final         | JBoss Logging 3
> karaf@root()> ls EntityManager
> [javax.persistence.EntityManager]
> ---------------------------------
>  osgi.unit.name = tasklist
>  service.bundleid = 63
>  service.id = 202
>  service.scope = singleton
> Provided by : 
>  model (63)
> Used by: 
>  persistence (64)
> [javax.persistence.EntityManager]
> ---------------------------------
>  osgi.unit.name = tasklist
>  service.bundleid = 63
>  service.id = 211
>  service.scope = singleton
> Provided by : 
>  model (63)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message