Oh, as for your question, are you using a specific class for your primary key (other than, e.g. Integer,
String, etc)? If so, check that the equals and hashcode methods are implemented properly.
Otherwise, double check that the data is indeed in the database that the entity bean is accessing.
Cheers
Simon