API文档写到:
close()
Releases this Connection object's database and JDBC resources immediately instead of waiting for them to be automatically released.
所以想请教大家这个自动释放是什么时候呢?具体是什么意思呢?程序结束还是??多谢各位大大!
...全文
6883打赏收藏
java.sql.Connection关闭问题
API文档写到: close() Releases this Connection object's database and JDBC resources immediately instead of waiting for them to be automatically released. 所以想请教大家这个自动释放是什么时候呢?具体是什么意思呢?程序结束还是??多谢各位大大!