On Thu, 2004-03-18 at 08:58, Konstantin Priblouda wrote: > --- "S, Shanthi (Cognizant)" > <[EMAIL PROTECTED]> wrote: > > Hi Everybody, > > > > I have an entity bean which composes of composite > > primary key, but what are the tags in xdoclet by > > which a composite key can be defined. > > > xdoclet supports only class as composite key, so > tag getter of your composite key with > @hibertate.composite-id , > set generator to assigned and tag properties of > respective class.
Hibernate? He said he was using entity beans... Shanthi, you'll need to use ejbdoclet's <entitypk> subtask, and tag the relevant getters in your bean class with @ejb.pk-field as well as the usual persistent field tag. See http://xdoclet.sourceforge.net/tags/[EMAIL PROTECTED](0..1) Andrew. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
