[jboss-jira] [JBoss JIRA] (WFLY-5006) support for extended persistence context with SynchronizationType.UNSYNCHRONIZED
Jason Greene (JIRA)
issues at jboss.org
Sun Jul 26 21:51:09 EDT 2015
[ https://issues.jboss.org/browse/WFLY-5006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Greene updated WFLY-5006:
-------------------------------
Fix Version/s: 10.0.0.Beta1
(was: 10.0.0.Alpha6)
> support for extended persistence context with SynchronizationType.UNSYNCHRONIZED
> --------------------------------------------------------------------------------
>
> Key: WFLY-5006
> URL: https://issues.jboss.org/browse/WFLY-5006
> Project: WildFly
> Issue Type: Bug
> Components: JPA / Hibernate
> Affects Versions: 8.1.0.Final
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Fix For: 10.0.0.Beta1
>
>
> org.jboss.as.jpa.injectors.PersistenceContextInjectionSource handles injection of a persistence context into EE components. PersistenceContextInjectionSource is not properly handling SynchronizationType.UNSYNCHRONIZED when injecting an extended persistence context. I'm not sure why this failure only appeared with Hibernate ORM 5.
> If SynchronizationType is UNSYNCHRONIZED, we should call
> EntityManagerFactory.createEntityManager(SynchronizationType synchronizationType, Map map), instead of EntityManagerFactory.createEntityManager(Map map).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list