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?

BTJ



-------------------------------------------------------
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&kid3432&bid#0486&dat1642
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to