The Xdoclet generated valueObjects have all these xxxHasBeenSet methods, but they never seem to get used, (except that they are judiciously set when a setter is called on the VO).
In the XDoclet genrated CMP code, why doesn't the setxxxValue(ValueObject xxx) method check the hasBeenSet methods of the VO, before setting the VO's values into the CMP? so instead of something like this: setFileName( valueHolder.getFileName() ); one might expect if (valueHolder.fileNameHasBeenSet() ) setFileName(... so that only the values that are actually set get persisted... There's probably a good reason, something that I'm missing here? dt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847066#3847066 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847066 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
