> 
> ps I'm surprised "boolean found = rs.next()" works if result set is empty.
> I'd kind of expect a null pointer exception. I always do
> if (rs != null && rs.next()) {
>   // assign something
> }
> if i'm expecting a single row.

I guess there's a difference between an empty ResultSet and no ResultSet :)

--V.

Reply via email to