Scott Marlow created WFLY-5006:
----------------------------------
Summary: 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.Alpha6
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)