Title: how to do "getAttribute() - yes and setAttribute() - no"

A CMP field that is a member of the primary key can only be set in ejbCreate [EJB 2.0 Spec. 10.3.5]
I can use the tag below
 @ejb:value-object match="*" exclude="true" 
only for excluding attribute from Value Object at whole.
But if I still want to use getMyPK() or some other getImmutableAttribute(), and  not to allow to update it.
How can I do it with xdoclet?

Thanks

Reply via email to