--- Konstantin Priblouda <[EMAIL PROTECTED]> wrote: > > > --- Hung Vu <[EMAIL PROTECTED]> wrote: > > > Hi, > > Could you have the sample code to generate this > > mapping: > > <class name="StudentDiscipline" > > table="Student_Discipline" lazy="true"> > > <composite-id name="id" > > class="StudentDiscipline$Id" > > unsaved-value="any"> > > <key-property name="studentId" > > access="field" > > column="Student_id" > > length="16"/> > > > > <key-property name="disciplineId" > > access="field" > > column="Discipline_Id" > > length="16"/> > > </composite-id> > > unit tests for xdoclet 2 hibernate plugin contain > such examples. Typically composite ID is mapped > with dedicated class. > > regards, > >
I forgot to say that I'm using xdoclet-1.3-SNAPSHOT. I read hibernate-composite-id$method.xdt, hibernate-composite-id$class.xdt files and tried many time but wasn't successful. Could you have any help on this version ? Regards, Hung __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user