help on composite-id tag
Hung Vu <[email protected]>
| Newsgroups | gmane.comp.java.xdoclet.user |
|---|---|
| Message-ID | <[email protected]> |
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>
Thanks for your help
HungVu
__________________________________________________
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