Maybe I do not understand the question, but if you are throwing an
ObjectNotFoundException, isn't the returned value meaningless?
tim.
> I'm a bit confused what should be returned by finders that return
> multiple objects. In the EJB 1.1 specs, it is stated an empty collection
> should be returned. However, in the JavaDocs for
> ObjectNotFoundException, it is stated a null collection should be
> returned. My understanding is null collection is null, and an empty
> collection is a collection with zero elements. So which should I return
> (I prefer the empty collection approach, as it simplifies both the bean
> and client implementations)?
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".