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