jdbc中connection,preparestement,resultset关闭后(调用close())对象还存在,不是null?为什么,哪位大虾能详细解释一下内部原理?还有,在查询数据库的时候用return rs.getXXX("***")这样安全吗,还是先用一个变量缓存下来(i=rs.getXXX("***");return i)比较好?