Guy,

In the @ejb.bean tag at the top of your class, you need to include primkey-field="id" 

- Adam

-----Original Message-----
From: Guy Daniel [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 10, 2003 12:04 AM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] <primkey-field>id</primkey-field> missing in ejb-jar.xml ???


Hi Xdoclet-users!

Is it normal for xdoclet 1.2b2 not to include the (for eg..) 
<primkey-field>id</primkey-field> in ejb-jar.xml?

I've marked the primary key:

* @ejb.pk-field
abstract Long getId() 

... and all the other @ejb tags work for the method.

I've found a workaround to put it as the first entry in with the finders in 
ejb-finders-{0}.xml, so It's no big deal, just wondering if there is a better way of 
doing it, or whether I've totally missed something?

Regards,

Guy Daniel 


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to