Hi Nicholas, Do not Make this field a part of ejbCreate() and Do not call this setter in INSERT.
But, call this setter in UPDATE. -Saroj >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] On Behalf Of Nicholas >Sent: Monday, January 06, 2003 5:49 PM >To: [EMAIL PROTECTED] >Subject: [JBoss-user] CMP2 - Field To Persist In Updates But >Not Inserts > > >How can I define a CMP2 field to only persist in >UPDATEs and not the initial INSERT ? > >Thanks. > >//Nicholas > >===== >Nicholas Whitehead >Home: (973) 377 9335 >Cell: (201) 615 2716 >Work: (212) 622 5639 >[EMAIL PROTECTED] > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >JBoss-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/jboss-user > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user