javax.ejb.DuplicateKeyException: Imposible crear: ya existe un registro con esa clave

openxava | daviles | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    boton crear de descriptionlist (posible bug)

    openxava | 8 years ago | daviles
    javax.ejb.DuplicateKeyException: Imposible crear: ya existe un registro con esa clave
  2. 0

    Multiple ManytoMany in a Single Class throws

    openxava | 8 years ago | csplrj
    javax.ejb.DuplicateKeyException: Impossible to create: an object with that key already exists

    Root Cause Analysis

    1. javax.ejb.DuplicateKeyException

      Imposible crear: ya existe un registro con esa clave

      at org.openxava.model.impl.POJOPersistenceProviderBase.create()
    2. org.openxava.model
      MapFacade.createReturningKey
      1. org.openxava.model.impl.POJOPersistenceProviderBase.create(POJOPersistenceProviderBase.java:134)
      2. org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:723)
      3. org.openxava.model.impl.MapFacadeBean.createReturningKey(MapFacadeBean.java:598)
      4. org.openxava.model.impl.MapFacadeBean.createReturningKey(MapFacadeBean.java:259)
      5. org.openxava.model.MapFacade.createReturningKey(MapFacade.java:274)
      5 frames
    3. org.openxava.actions
      SaveNewAction.execute
      1. org.openxava.actions.SaveNewAction.execute(SaveNewAction.java:23)
      1 frame
    4. org.openxava.controller
      ModuleManager.execute
      1. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:326)
      2. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:252)
      3. org.openxava.controller.ModuleManager.execute(ModuleManager.java:218)
      3 frames