aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <>
Subject [jira] [Assigned] (ARIES-1278) jpa persist visibble outside its transaction
Date Wed, 26 Nov 2014 16:47:13 GMT


Christian Schneider reassigned ARIES-1278:

    Assignee: Christian Schneider

> jpa persist visibble outside its transaction
> --------------------------------------------
>                 Key: ARIES-1278
>                 URL:
>             Project: Aries
>          Issue Type: Bug
>          Components: JPA
>    Affects Versions: jpa-container-1.0.2, jpa-container-context-1.0.4
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>            Priority: Critical
> I have created a small example that shows the problem:
> The project uses hibernate 4.3, aries jpa and derby. 
> In persistence I work with container managed persistence provided by aries jpa.
> In persistence-emf I directly use the EntiryManagerFactory.
> In both cases I open a JTA transaction, then persist an entity. After a sleep I commit
the transaction.
> In a separate thread I look for the number of entities. I would expect this number to
be 0 until the transaction is committed. Unfortunately the persist is already shown while
the transaction is still open.
> As it also happens with pure EMF the problem is maybe not in aries jpa directly as it
is only quite thin then. Still I have no clue what might go wrong.

This message was sent by Atlassian JIRA

View raw message