Hey no need, i will give the program which will give you full idea about this

i.e not possible for us to search the data based on the primary key only in the database in general, so there is a need to understand the entitybeans without the primary key field. soon i will give the program here