Simple question, HF page 274 Last paragraph Note: a client will not get an exception if a multi-entity finder can't find any mathces! Instead, the client will still get a Colection, but it simply be empty.
HF page 275 public Collection findByCity(String city) throws FinderException, RemoteException;
Find methods that return an Enumeration or Collection type (multi-entity finders) return an empty collection (not a null reference) if no matching beans can be found or throw a FinderException if an application error occurs.
My honeysuckle is blooming this year! Now to fertilize this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss