You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2016/10/24 09:52:59 UTC
[jira] [Comment Edited] (ARIES-1575) Aries JPA should use the
persistence bundle's context to obtain the Persistence Provider service
[ https://issues.apache.org/jira/browse/ARIES-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15601482#comment-15601482 ]
Christian Schneider edited comment on ARIES-1575 at 10/24/16 9:52 AM:
----------------------------------------------------------------------
Which test in tx control checks for this issue?
I ran a full tx control build now and it seems to work fine.
was (Author: chris@die-schneider.net):
Which test in tx control checks for this issue?
> Aries JPA should use the persistence bundle's context to obtain the Persistence Provider service
> ------------------------------------------------------------------------------------------------
>
> Key: ARIES-1575
> URL: https://issues.apache.org/jira/browse/ARIES-1575
> Project: Aries
> Issue Type: Bug
> Components: JPA
> Affects Versions: jpa-2.4.0
> Reporter: Timothy Ward
> Assignee: Christian Schneider
> Fix For: jpa-2.5.0
>
>
> Some JPA implementations (Hibernate) register a service factory for their Persistence Provider and cache bundle-level data in the service.
> Aries JPA always uses its own Bundle Context to do the service "get" which confuses Hibernate into doing the wrong thing. This causes problems such as:
> https://hibernate.atlassian.net/browse/HHH-10855
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)