Hello!

I'm having some issues in getting my updated valueobject data back into the
entity beans. The Session Facade and Value Object patterns are working great
for getting data. But how am I supposed to update the entity beans with the
data from an updated value object?

What I probably am looking for is some setXXXVO(vo) in the Facade, that
traverses through the value object and updates each corresponding
field/collection in the entity bean. I can't find such methods in the XDT's
hence neither in the various generated java classes.

Note: in entity-body.xdt there are some getData() and setData() methods but
they never generate any java code in my CMPs. I guess they're left-overs
from the old Data Object days and should not be used?

Cheers,
  Ulf Sahlin






-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to