Hello everyone,

XDoclet allows to map EJB relationships (e.g. CMR) to the generated value objects. For 
example, XDoclet generates a getter in one value object that retrieves the value 
object of the related EJB in a 1-to-1 relationship.

Unfortunately, the code that initializes the first value object also eager loads all 
related value objects. Is it possible to change that behaviour to lazy loading? I want 
the related EJB only loaded if one of the values is being used in my business logic.

BTW, it does not help to configure the application server (JBoss) to lazy loading 
(which is the default anyway), because the value object init code actively retreives 
the values of the related object.

Regards,

Andreas



______________________________________________________________________________
Erdbeben im Iran: Zehntausende Kinder brauchen Hilfe. UNICEF hilft den
Kindern - helfen Sie mit! https://www.unicef.de/spe/spe_03.php



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to