javax.ejb.EJBException

Oracle Community | leosurban | 9 years ago
  1. 0

    Samples for Lazy loading

    Oracle Community | 9 years ago | leosurban
    javax.ejb.EJBException
  2. 0

    Cannot persist detached object

    Stack Overflow | 5 years ago | Stefano
    javax.persistence.EntityExistsException: Exception Description: Cannot persist detached object [com.mirodinero.entidad.DatosUsuario[idUsuario=Miguel LLorente]]. Class> com.mirodinero.entidad.DatosUsuario Primary Key> [Miguel LLorente]
  3. 0

    Preexisting Entity Exception

    Oracle Community | 6 years ago | 795665
    test.controllers.exceptions.PreexistingEntityException: TableB test.tables.TableB[tableBPK=test.tables.TableBPK[idTableB=0, idTableA=3]] already exists.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JPA 2.0 with @MapsId a persist generates internal exception NPE

    Eclipse Bugzilla | 7 years ago | eclipse_bugs
    javax.persistence.EntityExistsException: Exception Description: A NullPointerException was thrown while setting the value of the instance variable [chartId] to the value [1]. Internal Exception: java.lang.NullPointerException Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[chartId-->ERNIE.CHART_EVENT.CHART_ID] Descriptor: RelationalDescriptor(org.metawb.astro.db.ChevPK --> [DatabaseTable(ERNIE.CHART_EVENT)])
  6. 0

    Asynchronous handling - DB deadlocks and concurrency issues

    Google Groups | 2 years ago | Jakub Čech
    javax.persistence.EntityExistsException: A different object with the same identifier value was already associated with the session : [org.axonframework.saga.repository.jpa.SagaEntry#97a0ee37-1d22-4fcc-8987-8c41d9010181]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.persistence.EntityExistsException

      Exception Description: The method [_toplink_getcountry_vh] on the object [cz.qds.lazyexample.ebs.Company] triggered an exception. Internal Exception: java.lang.reflect.InvocationTargetException Target Invocation Exception: java.lang.NullPointerException Mapping: oracle.toplink.essentials.mappings.OneToOneMapping[country] Descriptor: RelationalDescriptor(cz.qds.lazyexample.ebs.Company --> [DatabaseTable(COMPANY)])

      at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.persist()
    2. oracle.toplink.essentials
      EntityManagerImpl.persist
      1. oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.persist(EntityManagerImpl.java:208)
      1 frame
    3. Common Utilities
      EntityManagerWrapper.persist
      1. com.sun.enterprise.util.EntityManagerWrapper.persist(EntityManagerWrapper.java:238)
      1 frame
    4. cz.qds.lazyexample
      CompanyFacade.create
      1. cz.qds.lazyexample.sbs.CompanyFacade.create(CompanyFacade.java:24)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. com.sun.enterprise
      EJBSecurityManager.runMethod
      1. com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
      1 frame
    7. Security Core Classes
      SecurityUtil.invoke
      1. com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
      1 frame
    8. Embedded GlassFish Web
      EJBObjectInvocationHandler.invoke
      1. com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2895)
      2. com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3986)
      3. com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:203)
      3 frames