[jboss-jira] [JBoss JIRA] (WFLY-11793) JPA EntityManager merge infinite loop -

Bruno Maioli Martins (Jira) issues at jboss.org
Wed Feb 27 17:38:00 EST 2019


Bruno Maioli Martins created WFLY-11793:
-------------------------------------------

             Summary: JPA EntityManager merge infinite loop - 
                 Key: WFLY-11793
                 URL: https://issues.jboss.org/browse/WFLY-11793
             Project: WildFly
          Issue Type: Bug
          Components: JPA / Hibernate
    Affects Versions: 15.0.1.Final
         Environment: MAC OS Mojave
Java 11
Java EE 8
Wildfly 15.0.1-Final
            Reporter: Bruno Maioli Martins
            Assignee: Scott Marlow
         Attachments: teste.zip

Dear,

When executing the update of a record invoking getEntityManager().merge(obj) the application goes into infinite loop. This behavior only occurs when there is a OneToMany bidirectional mapping of the entity Papel -> PermissaoAtribuida.

If the same code runs outside of the Wildfly server context its execution occurs normally.

Attach the source code of my test classes.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list