When generating a ValueObject with :

       * @ejb:value-object name="TrackType"
       *                   match="*"

and including
          /**
           * Retrieve the TrackType's id.
           *
           * @return Returns a char representing the id of this TrackType.
           *
           * @ejb:persistent-field
           * @ejb:pk-field
           *
           * @jboss:column-name name="idTrackType"
           **/
          public abstract char getId();

and including
          /**
           * @ejb.interface-method
           */
          public abstract void setTrackTypeValue(TrackTypeValue value);


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?

Thanks a lot for any help.

Michel.






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