Bryan Field-Elliot wrote:
> The docs are unclear as to the difference between the "@ejb-bean
> primkey-field" tag (at the class level), and the "@ejb.pk" field (at
> the method level).  

I'm using Integer for my entity beans as well, and I use both tags:

  * @ejb.bean
  *     primkey-field="id"

and

  /**
   * @ejb.pk-field
   * @ejb.interface-method
   * @ejb.transaction type="Supports"
   * @ejb.persistence
   *      column-name="id"
   */
  public abstract Integer getId ( ) ;

  public abstract void setId ( Integer id ) ;

I haven't tried removing the @ejb.pk-field method-level tag because it's
working. :)

Good luck!

David Harkness
Sr. Software Engineer
Sony Pictures Digital Networks
(310) 482-4756


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to