Hello,

I just started using OJB and following question arised. Is there a way
of updating referenced Collection without querying item objects from
database?
Example:
User object hava Collection of Role objects attribute. All aplicable
Role objects are already stored in database. Some view returns index
values pointing to Role objects. 
What to do before storing User object:
-Does broker have to retrieve appropriate Collection corresponding to
index values and then set user.roles attribute with this collection? 
-Or can I just create collection of blank Role objects, setting each of
them with appropriate index and setting Roles attribute of User object
with this collection? Or perhaps there is another (better) possibility
which I haven't noticed yet?

Best regards,
BJ


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to