0 Replies Latest reply on Sep 15, 2003 2:08 AM by Randahl Fink Isaksen

    Repost: CMP mutable properties

    Randahl Fink Isaksen Novice

      If you set a property P of a CMP entity bean using the method myBean.setP(newValue) then the new value will be stored in the database - just like we would expect.

      However if P is a mutable type which itself has a property P2, then calling
      myBean.getP().setP2(newValue)
      on the bean will not change the value of the property P in the database. Is this in accordance with the specification? Could anyone tell me where exactly this is specified?

      Is there a way to make JBoss update the database when you invoke myBean.getP().setP2(newValue)?

      Thanks

      Randahl