my server is -jboss3.2.1
ide-eclipse 2.1;

i have created a CMP bean with primary key of 'int' type which is related to autoincrement in mysql.
i have created getField()in bean.
i have created public int ejbCreate(*,*,*){ return int}, because ejbCreate methos must return Primary Key type.
after that i generated ejb classes in jboss3.2.1.

my problem:
1)in ejbsrc folder of workspace all files related CMP bean is created except PrimaryKey class.
2)in Home interface file itself, eclipse creates findByPrimaryKey(). but There is no PrimaryKey Java file for this CMP with primary key of AutoIncrement.

Please help me to fix the problem