Well, this doesn't work with JBoss, however works with some other appservers or if you use deferred constraints (for example in Oracle). I changed the template to use two methods (setValueCMP and setValueCMR).
Cheers, Bernie -----Urspr�ngliche Nachricht----- Von: J�rg Barkow [mailto:[EMAIL PROTECTED] Gesendet: Montag, 17. M�rz 2003 12:01 An: [EMAIL PROTECTED] Betreff: [Xdoclet-user] EJB Best Practices: Set the Value Object in ejbPostCreate(..) Hallo, In the XDoclet 1.2b2: Best Practices you can find : > Always set the Value Object in ejbPostCreate(..), so that CMR fields are assigned correctly. but how can I practice this wenn I have defined "not null" - columns in my database model? How can I split the setXXXValue() - Method in a method that set all fields of my EJB in ejbCreate() and another method that set the CMR fields in ejbPostCreate(..)? Thanks Joerk Joerk Barkow joerk.barkow<at>mwx.de ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
