Thanks.. Changing from from "param" to "parameter" actually made a difference. A 
parameter tag is now generated in the mapping file. But what about the name attribute 
of the parameter tag? It's required, but how do you specify it through xdoclet?

regards,
Jesper

> -----Original Message-----
> From: Mitchell Morris [mailto:[EMAIL PROTECTED]
> Sent: 28. February 2003 15:34
> To: [EMAIL PROTECTED]
> Subject: RE: [Xdoclet-user] hibernate and generator-class-param-1
> 
> 
> The doc is wrong: it's actually named 
> "generator-class-parameter-1" ... this
> tripped me up too.
> 
> /**
>  * Get the primary key
>  * @hibernate:id column="X_ID" generator-class="seqhilo.long"
> generator-class-parameter-1="seq"
>  */
> public Long getId() {
>   return id;
> }
> 
> +Mitchell
> 
> > > What is the syntax of using the
> > > @hibernate.id column="corporation_id" generator-class="sequence"
> > > tag with the generator-class-param-X attributes?
> > >
> > > And do they at all work..
> > >
> > > Reason for asking is my need to associate a sequence name...
> >
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to