I have the CMP doc but I am not sure I understand the default loading behavior concerning relationship. Let's say an entity has a large number of dependant entities, when loading one entity through a simple find method, do all the dependant entities get loaded as well or only when they are actually used? Thanks for your quick response! In the mean time, I will go back in the doc to find the answer.
PS: this is on JBoss3.0.x of course...
Only if you tell JBoss to load them. It also depends on what version of Jboss you are using. Some of the early release of 3.0 had bugs in the read ahead logic.