Is it possible to automatically narrow the results of a finder ?
i.e : finder findByName(String name) on PersonBean is likely to return a single result each time so the signature can be com.test.interface.PersonneLocal findByName(java.lang.String name)
But in the case it returns more than one result, this signature will not be valid.
Will JBoss throw an exception ? Will it return only the first result ?
Do I need to use a Collection "in case where it eventually may" return more than one result ?
thanks, ionel
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
