hmm... I've tried that.. Using XDoclet 1.2 beta 2
No matter what i put into the generator-class-param-1 attribute,
nothing happens.. the name is not output to the mapping file..
* @hibernate.id column="employee_id" generator-class="sequence"
generator-class-param-1="seq_employee"
generates:
<id name="id" column="employee_id">
<generator class="sequence">
</generator>
</id>
so the sequence name is still missing...
> -----Original Message-----
> From: Matt Raible [mailto:[EMAIL PROTECTED]
> Sent: 28. February 2003 13:57
> To: [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-user] hibernate and generator-class-param-1
>
>
> > Hi,
> >
> > 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...
> >
> > regards,
> > Jesper Matthiesen
>
> /**
> * Returns the id.
> * @return Long
> *
> * @hibernate.id column="ccr_id" unsaved-value="null"
> * generator-class="sequence"
> generator-class-param-1="ccr_master_sq"
> */
> public Long getId() {
> return id;
> }
>
>
> -------------------------------------------------------
> 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