[ 
https://issues.apache.org/jira/browse/ARIES-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15601627#comment-15601627
 ] 

Timothy Ward commented on ARIES-1575:
-------------------------------------

It's the tests in XAHibernate_5_0_9_Test in the Tx Control JPA integration test 
project.

The tests would fail about 50% of the time, so a few runs should be sufficient 
to check.


> 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)

Reply via email to