Christophe Demez wrote:
> I have the following error during the deployment of my EJB in JBoss.
> In the JBoss console I have the following message :
> ( I m not sure it is a JBoss problem, maybe more general )
>
> > [Verifier]
> > Bean   : ODATAServicesRegistry
> > Section: 9.4.7.2
> > Warning: At least one field in the primary key class must be non-static.
>
> My settings.
> ------------------
>
> EJB Name : ODATAServicesRegistry
>
> Primary key : " public Long PrimaryKey; "
>
> ejb-jar.xml
> ---------------
> ...
>       <prim-key-class>java.lang.Object</prim-key-class>
>       <primary-field>PrimaryKey</primary-field>
>       <cmp-field><field-name>ServicesState</field-name></cmp-field>

It is not a JBoss problem, and it's not a more general problem, it's a
configuration problem. There should be no "primary-field" in
ejb-jar.xml. It's called "primkey-field".

/Rickard

--
Rickard �berg

Email: [EMAIL PROTECTED]

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to