Hi all,

I am a little confused on one thing..if I create an entity such as

name, address1, address2, city, state, zip, home phone, fax, cell

And a "profile" page shows those fields..and I can store that as an entity
in the database. The problem is..what if I want the ability to search on ALL
of those fields? Do I need to define the PK class with all of the fields
too? I am not sure exactly to corelation between an SQL Query where I could
put in a "where x = z and x2 = z2" to allow searching on more than one
field, when dealing with entity beans and primary keys to pull up searches.
Can someone explain how I would allow a search on every field of an entity
bean?

Thanks.

Reply via email to