I use:
<prim-key-class>java.lang.String</prim-key-class>
and it works. At least for BMP entity beans.
/Mattias

----- Original Message ----- 
From: "Andreas Reckmann" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, July 27, 2000 4:31 PM
Subject: primary key class


> Hi,
> 
> I haven't a Primary Key class defined for my entity bean, because
> the table only has one primary key. How can I specify this in the
> ejb-jar.xml-file.
> 
> <entity>
>   ....
>   <prim-key-class> ??? </prim-key-class>
>   ...
> 
> 
> Thanks 
>     Andreas
> 


Reply via email to