Re: what's the return type, if no query results exists.
Posted By:
Robert_Lybarger
Posted On:
Saturday, December 6, 2008 10:20 AM
I believe you should get an empty ResultSet object. That is, it will be non-null but calling "next()" will immediately return false. (and result set metadata, if available, would show 0 rows). Provided the query is valid (table and cols exist) there is no reason to return "null".