Hi all,
This should be easy for you more experienced castor developers.
If I have a class, say Order that contains a collection of class Products
then I would like to load the objOrder as Database.Shared since I will most
likely want to commit a change. On the other hand, I will want to load it's
objProducts as Database.ReadOnly.
This makes sense, since I don't change objProducts, just associate them with
objOrder. In the database these are just foreign keys in the Order table. My
question is what considerations I need to make (if any) to my mapping file
to be able to commit objOrder and have the association preserved.
-rich
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev