0 Replies Latest reply on May 7, 2018 11:20 AM by Vinay Tadvi

    Error EAP 6.4 with Hibernate 4.2.18

    Vinay Tadvi Newbie

      Hi,

      Getting below error at EAP 6.4 with Hibernate 4.2.18 but executing successfully in AS 7.1 with  Hibernate 4.0.1.

       

       

      15:53:59,801 ERROR [stderr] (http-localhost/127.0.0.1:8080-1) java.lang.IllegalStateException: About to execute actions, but there are unresolved entity insert actions.

      15:53:59,805 ERROR [stderr] (http-localhost/127.0.0.1:8080-1) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:298)

      15:53:59,809 ERROR [stderr] (http-localhost/127.0.0.1:8080-1) at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:349)

      15:53:59,812 ERROR [stderr] (http-localhost/127.0.0.1:8080-1) at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)

      15:53:59,815 ERROR [stderr] (http-localhost/127.0.0.1:8080-1) at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1195)

      15:53:59,818 ERROR [stderr] (http-localhost/127.0.0.1:8080-1) at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:996)

      15:53:59,822 ERROR [stderr] (http-localhost/127.0.0.1:8080-1) at org.jboss.as.jpa.container.AbstractEntityManager.flush(AbstractEntityManager.java:439)

      15:53:59,825 ERROR [stderr] (http-localhost/127.0.0.1:8080-1) at com.test.TestTruck.service.TestTruckServiceEjbImpl.calculate(TestTruckServiceEjbImpl.java:377)

      15:53:59,829 ERROR [stderr] (http-localhost/127.0.0.1:8080-1) at com.test.TestTruck.service.TestTruckServiceEjbImpl.saveAlternative(TestTruckServiceEjbImpl.java:313)

       

      Any Idea ?