Hi Gene,
U are correct, u don't have an option to override here, if u omit the
mapping of this field in xml, and also both the problems cannot be solved
in CMP. But I can suggest one thing below.
Accept the parameter from client, if this field is null, accept the default
value( here u have to write small business logic in the wrapper, before
create method, check the value of the field with null, if true, assign the
default value else leave it as it is. the default values has to be
hardcoded in the wrapper class, or this business logic can be included in
the client javabean or jsp or servlet, this will be more flexible, hardcode
the default value here itself, if u want change the default value you can
change without touching the bean)
Is it OK, give u reply, if any more suggestions or accepting this
Reddy
===========================================================================
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".