DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36822>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36822





------- Additional Comments From [EMAIL PROTECTED]  2005-09-28 18:50 -------
> When would the result Object be null?

from ResultSetHandler javadoc:
It is legal for implementations to return null if the ResultSet contained 0 
rows.

I don't know whether it is legal for a JDBC driver to return a ResultSet with 0 
rows from a SELECT COUNT
(...) query.


> Casting to Number would be safer.

Fair enough.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to