[WEBLOGIC] findByPrimaryKey ObjectNotFoundException NOT THROWN when should
0 posts in topic
Flat View  Flat View

Posted By:   Martin_Amaris
Posted On:   Thursday, March 14, 2002 12:58 PM

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


About | Sitemap | Contact