In one
EJB I am doing the following operations -
1. Create entity A with primary key - id and persist A into the database.
2. Look for entity A with primary key - id.
When I do operation 2 I get a an ObjectNotFound exception. I am unable to understand why?
Should'nt the entity manager be aware of the created entity A with primary key - id.
--Anurag