Impact of java.sql.Connection.close() on java.sql.Statement objects and the like
Posted
by Bytecode Ninja
on Stack Overflow
See other posts from Stack Overflow
or by Bytecode Ninja
Published on 2010-04-25T15:12:43Z
Indexed on
2010/04/25
15:23 UTC
Read the original article
Hit count: 164
Does closing a java.sql.Connection
also close all the statements, prepared statements, etc. obtained from that connection? Or is there going to be memory leak if I close the connection but leave the statements, etc. unclosed?
© Stack Overflow or respective owner