Sorry, solved it. Wrong tag (is should be hibernate.collection-key) --- Leandro Melo <[EMAIL PROTECTED]> escreveu: > Hi, > i got the following markup in my .java > > /** > * > * @hibernate.set > * lazy="true" > * order-by="firstName" > * @hibernate.collection-key-column > * name="fk_orgId" > * @hibernate.collection-one-to-many > * class="hibernate.Employee" > * > * @return all the employees > * > */ > public Set getEmployees() { > return employees; > } > > In the associated hbm.xml file, xdoclet seems not to > generate the key-column part in the xml. > Here's what i got. > > <set > name="employees" > lazy="true" > inverse="false" > cascade="none" > sort="unsorted" > order-by="firstName" > > > > <one-to-many > class="hibernate.Employee" > /> > </set> > > Anyone know why??? > > Thanks, > ltcmelo > > > ______________________________________________________________________ > > Participe da pesquisa global sobre o Yahoo! Mail: > http://br.surveys.yahoo.com/global_mail_survey_br >
===== beginner ______________________________________________________________________ Participe da pesquisa global sobre o Yahoo! Mail: http://br.surveys.yahoo.com/global_mail_survey_br ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user