--- Bjørn T Johansen <[EMAIL PROTECTED]> wrote:
> On Wed, 22 Feb 2006 07:44:56 -0800 (PST) > Konstantin Priblouda <[EMAIL PROTECTED]> wrote: > > > > > > > --- Bjørn T Johansen <[EMAIL PROTECTED]> 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? > > > > Maybe XD2 hibernate plugin would be an option for > you? > > > > regards, > > > > > > ----[ Konstantin Pribluda http://www.pribluda.de > ]---------------- > > Still using XDoclet 1.x? XDoclet 2 is released > and of production quality. > > check it out: http://xdoclet.codehaus.org > > > > > In other words, this is not possible in Xdoclet? I id not looked in XD1 code for a long time. There is xdoclet-2 with all the modules - for over a year. XD2 hibernate plugin dies not have this problem. regards, ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- Still using XDoclet 1.x? XDoclet 2 is released and of production quality. check it out: http://xdoclet.codehaus.org __________________________________________________ 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user