Don Laidlaw [EMAIL PROTECTED] wrote:
> /**
>  * ProductNoticeHead table simpl CMP
>  *
>  * @ejb.bean
>  *     type="CMP"
>  *     cmp-version="2.x"
>  *     name="ProductNoticeHead"
>  *     schema="ProductNoticeHead"
>  *     jndi-name="Fulfill/ToolNotice/ProductNoticeHead"
>  *     local-jndi-name="Fulfill/ToolNotice/ProductNoticeHeadLocal"
>  *     view-type="both"
>  *      primkey-field="productNoticeHeadID"
>  *
>  * @ejb.pk generate="false"

I'm using 1.2b3 here. The only noticable difference I have is *no*
@ejb.pk class-level tag and the @ejb.pk-field tag on the getId() method:

  /**
   * Returns the unique ID of this entity bean.
   *
+  * @ejb.pk-field
   * @ejb.interface-method
   * @ejb.transaction type="Supports"
   * @ejb.persistence
   *      column-name="id"
   */
  public abstract Integer getId ( ) ;

Yes, it shouldn't be needed since I declare the primkey-field
class-level tag. You might try those changes and see if it makes any
difference. Otherwise everything looks fine.

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


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to