Thank you very much for this advice. I, too, was having the same problem.
Life is mch faster now (or, at least my value object retrievals through the
JBoss CMP engine).
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876075#3876075
Reply to the post
Hi,
After adding the jboss.relation xdoclet tag the container goes fires the
select only once and pulls all the necessary data. Thanks for your help.
Should this not be a default behaviour of the cmp rather than we adding the
extra xdoclet tag?
Regards,
V.Janardhanan
View the original pos
If I remeber correctly, a read-ahead-strategy "on-find" is needed for the
relation to solve this.
A typical relation definition addon in jbosscmp-jdbc.xml look like this in our
code generated by xdoclet:
| MbiAfsta-MbiAfpos
|
|
1-mbi_afsta-n-mbi_afpos
|