Karsten Jahn wrote:
> I don't have getters and setters for these fields.

Hmm, if you don't have accessors (can you?), XDoclet can't determine the
type when you use @ejb.bean primkey-field, so that may be out. From my
understanding, @ejb.pk is used only when you specifically need to
declare some custom PK class.

> The problem is, that xdoclets generates a PKClass
> java.lang.Object for me.

The @ejb.pk tag has other options, like

  @ejb.pk generate="false"

although the docs say it won't generate if it's in the java.lang
package.

Good luck!

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


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to