Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

findByPrimaryKey ObjectNotFoundException NOT THROWN when should

Status
Not open for further replies.

Martin12

Programmer
Mar 14, 2002
2
VE
Hi, I get this problem in weblogic 5.1: I do a find with a PK class on an entity bean instance on a record that don't exist, I would expect an ObjectNotFoundException, Weblogic doesn't do this. It returns an object which is the remote interface, but isn't properly initialized, because the object doesn't exist. Then I call a method on this returned object and I get a RMI exception: NoSuchObjectException


It's pretty weird, I seems to be a bug, If anyone knows about it, let me know how to fix it please. Thanks

Martin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top