I am hoping that someone can give me advice on somehow adding code to
the set<Entity>Value method automatically generated by the value-object
facility.
Right now, for all of my cmp entity beans, I'm coding a method,
update<Entity>Value, that calls same two methods (see asterisks below).
I could do away with these methods if I knew how to get code added to
the set<Entity>Value method auto generated by the value-object facility.
public void updateResourceValue(ResourceValue value) {
** value.setMaintenanceDate(new Timestamp(new
Date().getTime()));
** performOptimisticConcurrencyCheck(value);
setResourceValue(value);
}
Is this something that can be accomplished with merging (which I haven't
attempted before), or is there another, perhaps better or easier, way?
Thanks,
Chuck
-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user