Re: @hibernate.many-to-one and unique?
Paul Galbraith <[email protected]>
| Newsgroups | gmane.comp.java.xdoclet.user |
|---|---|
| Message-ID | <[email protected]> |
Bjørn T Johansen wrote: > If I include unique=true in a hibernate.many-to-one tag, I get two unique=true lines in the hbm file, which is > not what I want.. > But I also see in the doc to xdoclet, that they define two unique=true, for some reasons? > > unique bool If the column is unique > Default value(s): > false > > and > > unique text Enable the DDL generation of a unique constraint for the foreign-key column. > Valid options are: > true > false > > > How do I use only the bool variant of unique? > > > Regards, > > BTJ > > I believe this bug is fixed in the current CVS snapshot version ------------------------------------------------------- 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&kid0944&bid$1720&dat1642