Hi,
I am using Castor JDO 0.9.3.9, and i am just trying to get my head
around lazy loading. I have a class Account that has two members of type
AccountNature and AccountClassification. The relevant part of the
mapping file looks as follows:
<!-- account -->
<class name="com.msdw.futopt.expiry.accounts.Account"
identity="identifier">
<cache-type type="time-limited" capacity="15" />
<description>Represents an Account.</description>
<map-to table="TLDR.OK_VW_LDR_ACCT" />
<field name="identifier" type="string">
<sql name="ACCT_ID" type="char"/>
</field>
<field name="description" type="string">
<sql name="ACCT_NM" type="char"/>
</field>
<field name="companyCode" type="string">
<sql name="CO_CD" type="char"/>
</field>
<field name="nature"
type="com.msdw.futopt.expiry.accounts.AccountNature" lazy="true">
<sql name="ACCT_NATR_ID" />
</field>
<field name="classification"
type="com.msdw.futopt.expiry.accounts.AccountClassification"
lazy="true">
<sql name="ACCT_CLASS_ID" />
</field>
</class>
Now, when executing the code in question, I get the following output on
stdout
Warning: Lazy loading of object is not yet support!
Is this a problem of the version I am using, or have I missed something
essential ?
Thanks
Werner
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev