[EMAIL PROTECTED] wrote:

XDoclet generates a xxxCMP that inherits from the EntityBean and that
implements the setTrackTypeValue() method.

Is it normal behaviour that the ID field is not "set" in this method?
This makes sense perhaps for auto-generated PK's, but what if I want to
specify the PK myself?
Primary keys should *never* change after the object is created, weather the key is auto generated or not. That's why the setXXXValue() methods don't set key fields.

--
MB



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to