Hi All,

We are deploying an entity bean in J2EE1.2.1 RI.
Now we have a database table called "ASSESS"
which have a parcel_id,bill_no and tax_year as its Primary Key fields.

Our Primary Key class has variables parcelid,billnumber
and taxyear defined for uniquely identifying a bean
(PK class has composite Primary Key consisting of above 3 params)
Home interface has a finder method findByPrimaryKey
which takes PK object as single parameter instead of 3 parameters)

I dont require the ejbcreate method..just for lookup in an already created
DB.

First of all how do i define all 3 variables together as PK field names in
settings.
Secondly how to map the variables with the DB field names as the
table name is different from class name and field names are different
from variable names.

I change the query in deployment settings and make it same order
but while running client i get error
"No database row found for primary key"

Kindly advice\
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===========================================================================
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