Remote database connection open for long time
问题 I am executing some crud's on mssql server 2008 database by connecting remotely. I have business logic in Java with tight code for connection, statement and result set close() in finally block. My doubt is, even when I finish the job the connection port are still open and it takes roughly 20 min to close all connections. I can view the open connection using netstat -a command. I need to quickly close the connections since each operation opens/close connection several times. Hence I see large