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
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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