Re: NoSuchObjectException taking over FinderException

2001-11-21 Thread Rafael Alvarez
Hello Brian, are you setting the exclusive-write-access to false for that bean? There is a known bug (bug #532 in bugzilla) about findByPrimaryKey not throwing an ObjectNotFoundException when it should if exclusive-write-access is set to false. It's reported from 1.4.5 and it hasn't be fixed.

NoSuchObjectException taking over FinderException

2001-11-20 Thread Brian Chan
There seems to be a problem with FinderExceptions due to lazy loading of entity beans. It seems to me that FinderExceptions are not working properly for entity beans? Any ideas. See the following snipet. InitialContext ic = new InitialContext(); Object o =

SV: NoSuchObjectException taking over FinderException

2001-11-20 Thread Patrik Andersson
Title: SV: NoSuchObjectException taking over FinderException Hmm, maybee you get the FinderException becuase there is no such entity? -Ursprungligt meddelande- Fran: Brian Chan [mailto:[EMAIL PROTECTED]] Skickat: den 20 november 2001 20:20 Till: Orion-Interest Amne