Hi ,
I am trying to create a CMP 2.0 ( WLS 6.1 sp2 ) bean which has a
column managed by the database. How can I handle create/ update...
In my bean the create method looks like this...
create ( ValueObject x )
{
setattr1 ( x.getattr1() )
.
.
setattrn( x.getattrn() )
// setdate_last_updated is not called specifically bcos
I don't know the timestamp yet
}
The date_last_updated column is for further use in case of
updates...
But I suspect that the container calls the setdate_last_updated
method with null parameter when the row is created... ( ofcourse after the
database sets it )
In other words, How can I flag the container/persistence manager
to ignore setXXX during create time.
Thanks much for ur thoughts,
Vaidya
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".