How to change value of an attribute from retrieved entity

Hi, I want to change entity that has been retrieved by an association. For example, I can change value of User but not User_Company. How to solve this problem ? Thank you in advance !
1 answers

If 'User' is the entity that you have retrieved you can change attributes of this entity. Furthermore, you can set assocations of this entity.

If you want to changes attributes of the entity 'Company', you will first need to retrieve the company with the user. After the retrieve you can change attributes of the entity 'Company'.

See also: