You need to use Integer as PK Class. PK must extend Object Marc Rabil wrote:
> I can not figure out how to get Orion's EJB CMP to work when the primary key > is an 'int'. In the deployment descriptor (ejb-jar.xml), the code is: > > <prim-key-class>int</prim-key-class> > > When starting up Orion, I get: > > Class 'int' not found > > Any help will be greatly appreciated, > > Marc > > > >