0 Replies Latest reply on Sep 10, 2003 5:21 AM by Randahl Fink Isaksen

    Persisting properties of properties

    Randahl Fink Isaksen Novice

      If you set a property P of a CMP entity bean using the myBean.setP(newValue) method will make the new value of the property persistent.

      However if P is a mutable type which itself has a property P2, then calling
      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)?