This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Though Java API says never null. People generally check if (rs!=null) rigt after some rs=ps.executeQuery();
just curious will ever they get rs==null say db was not connecting etc. I presume it would throw exceptions and will never encounter such situations but why do people write this?