I have a big problem with my entity beans. I'm now working with JBoss 3 RC 1 and PostgreSQL. I've had this problem also with JBoss 3 alpha and JBoss 3 beta.
Creating an entity bean is no problem, but as soon as I try to look it up it gives an error : "javax.ejb.NoSuchEntityException:entity not found". Although the data exists in the db, jboss cannot find it. Even if I redeploy or shut JBoss down, so I don't think it's a cache problem.
Has anyone had this problem or is it a bug ? It's very crucial to my projects that this problem is solved, because I cannot test my methods to change, find or remove data.
Thx in advance,
This works for everyone else. Are you using a custom primary key? If so, did you override equals and hashcode? If you arn't, I would start with a simple example and slowly make is look more like your code until you find the bug.