javax.ejb.CreateException: Impossible to create persistent object Gestion because: The property siniestro in class org.dbsoft.modelo.Gestion is read only

openxava | pombero | 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

    Error OneToMany/ManyToOne

    openxava | 8 years ago | pombero
    javax.ejb.CreateException: Impossible to create persistent object Gestion because: The property siniestro in class org.dbsoft.modelo.Gestion is read only

    Root Cause Analysis

    1. javax.ejb.CreateException

      Impossible to create persistent object Gestion because: The property siniestro in class org.dbsoft.modelo.Gestion is read only

      at org.openxava.model.impl.POJOPersistenceProviderBase.create()
    2. org.openxava.model
      MapFacade.createAggregate
      1. org.openxava.model.impl.POJOPersistenceProviderBase.create(POJOPersistenceProviderBase.java:153)
      2. org.openxava.model.impl.POJOPersistenceProviderBase.createAggregate(POJOPersistenceProviderBase.java:219)
      3. org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:702)
      4. org.openxava.model.impl.MapFacadeBean.createAggregate(MapFacadeBean.java:653)
      5. org.openxava.model.impl.MapFacadeBean.createAggregate(MapFacadeBean.java:565)
      6. org.openxava.model.impl.MapFacadeBean.createAggregate(MapFacadeBean.java:278)
      7. org.openxava.model.MapFacade.createAggregate(MapFacade.java:171)
      7 frames
    3. org.openxava.actions
      SaveElementInCollectionAction.execute
      1. org.openxava.actions.SaveElementInCollectionAction.createAggregate(SaveElementInCollectionAction.java:111)
      2. org.openxava.actions.SaveElementInCollectionAction.saveAggregate(SaveElementInCollectionAction.java:94)
      3. org.openxava.actions.SaveElementInCollectionAction.execute(SaveElementInCollectionAction.java:34)
      3 frames
    4. org.openxava.controller
      ModuleManager.executeAction
      1. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:310)
      2. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:229)
      2 frames