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

Reply via email to