deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <>
Subject [jira] [Updated] (DELTASPIKE-185) Our @Transactional interceptor also tries to handle @PersistenceContexts
Date Tue, 05 Jun 2012 16:11:24 GMT


Mark Struberg updated DELTASPIKE-185:

    Priority: Major  (was: Minor)
> Our @Transactional interceptor also tries to handle  @PersistenceContexts
> -------------------------------------------------------------------------
>                 Key: DELTASPIKE-185
>                 URL:
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: JPA-Module
>    Affects Versions: 0.3-incubating
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 0.3-incubating
> Our @Transactional interceptor also tries to handle  @PersistenceContext. But this can
lead to issues in an EE server. 
> A @PersistenceContext usually is bound to a JTA transaction and must not be controlled
manually. Doing so will cause Exeptions. Thus we should remove this feature. 
> This originally was intended for Java SE usage where a Persistence.createEntityManagerFactory().createEntityManager();
gets injected via e.g. OWBs simple resource plugin. A way to achieve the same would be to
rewrite @PersistenceContext to corresponding @Inject with a Qualifier if needed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message