应该可以吧
但有的时候并不需要关闭connection,而只需要关闭resultset