When trying to deploy an EJB from a jar file that has a native java
integer as a primary key I am getting the following error:  

 "Exception: [08:45:44] java.lang.RuntimeException: Primary key class
  java.lang.Integer must have a public default constructor with CMP
Exception:"

Do we have to include a primary key class with a default constructor
even if we are using native types? This does not seem to be the case
with Sun's reference implementation.

Thanks for any help,

- - - - - - - - - - - - - - - - - - - - - - - -
Anthony DeBone
Associate Computational Scientist
Celltech Chiroscience Inc.
Bothell, WA.
425-489-8175
[EMAIL PROTECTED]
- - - - - - - - - - - - - - - - - - - - - - - -



The information contained in this email is intended for the
personal and confidential use of the addressee only. It may
also be privileged information. If you are not the intended
recipient then you are hereby notified that you have received
this document in error and that any review, distribution or
copying of this document is strictly prohibited. If you have
received  this communication in error, please notify Celltech
Group immediately on:

+44 (0)1753 534655, or email '[EMAIL PROTECTED]'

Celltech Group plc
216 Bath Road, Slough, SL1 4EN, Berkshire, UK

Registered Office as above. Registered in England No. 2159282
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.

Reply via email to