On Monday, January 6, 2003, at 07:20 AM, Nicholas wrote:

At row creation time, I do not know what that value
should be, so I want it to be null, but it appears in
CMP2 that *every* field must be persisted at insert
time.
The EJB specification requires that all fields be initialized to Java default values, so unless it is explicitly set in ejbCreate you will get a Java default set. Beside the spec requirement, I personally agree with this behavior, because it results in better portability.

In JBuilder 6, the Data Source browser of the EJB
Designer component allows you to edit column CMP
properties, and there is an option to ignoreOnInsert
which exactly what I want. However, the feature seems
to have no effect on the deployment XML.
We have no such feature, but I sounds like a good option. File a feature request, and it may make it into 4.0.

-dain



-------------------------------------------------------
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


Reply via email to