Hi again,
I have finally found the template where the code is generated : entity-value-instantiation.xdt
In there, it clearly seems that only the persistent fields and the relationships are copied from the CMP to the VO
<XDtEjbPersistent:forAllPersistentFields valueobject="<XDtEjbValueObj:currentValueObjectMatch/>">
...
</XDtEjbPersistent:forAllPersistentFields>
<XDtEjbValueObj:forAllRelations superclasses="true" valueobject="<XDtEjbValueObj:currentValueObjectMatch/>">
...
</XDtEjbValueObj:forAllRelations>
Any idea why this has been done ?
I am wonderning why non-persistent fields are not copied
M%arc
-----Original Message-----
From: DELHAYE Marc (BUDG)
Sent: mardi 2 septembre 2003 14:01
To: '[EMAIL PROTECTED]'
Subject: CMP : computed fields not copied to VO
Hi,
Here is my problem.
I have an EJB CMP with a computed field.
This computed field does not come from the database.
The field is perfectly generated in the xxxVO but is not included in the xxxCMP code to copy the xxxVO
Only the persitent fields are copied.
I have tried to look in the xsd template but unfortunately I did not find where the part of code is generated.
Any idea ?