[CDO] Questions about Lazy loading ? [message #1027881] |
Wed, 27 March 2013 10:44  |
Eclipse User |
|
|
|
Hi,
I have some questions about lazy loading of CDO, if I have the model as follow:
(Root)
|-(1)
|...|
|...|---(2)
|..........|
|..........|---(3)[Not load]
|.................|
|.................|---(4)[Not load]
|
|-(5)
|...|
|...|---(6)
|..........|
|..........|---(7)[Not load]
and element (7) have a feature that contains list of references to element (3), (4). If I delete element (2), so element (3) & (4) will also be deleted . After that I try to access element (7) which will trigger CDO to load element (7). After element (7) is loaded complete, the questions are
1. What will I get when I get the size of the reference list of element (7) ? 0 or 2 ?
2. If the size of the reference list is greater than 0. What will happen if I try to access element (3) or (4) from the reference list ? Do I get some exceptions ?
Thank you in advance
Best Regards
Mr.Apirom Na Nakorn
[Updated on: Wed, 27 March 2013 23:42] by Moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03667 seconds