Connection conn = getConnection(); stmt = try{ for(it ){ ResultSet rs = stmt.ddd while(rs.next()){ dsdas } rs.close(); } rs.close(); }catch(SQLException e){ dsadas }finally{ if(rs!=null){ rs.close(); } if(stmt!=null){ stmt.close(); }
}
posted on 2008-08-29 17:15 七页 阅读(221) 评论(0) 编辑 收藏
Powered by: BlogJava Copyright © 七页