that have been created with that Statement? If I close a Connection, does it close all Statements, PreparedStatements and CallableStatements and ResultSets that have been created using these Statements? Do I have to close each one explicitly or if I close the topmost hierarchy it closes all subordinate / tree level ?
2006-09-08
06:13:25
·
4 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design
Well I dont care about "good code" nor did I ask about cding practices. But thanks for the answer. What I wanted to know was, if I close the connection itself, then everything that has been created from the connection in the first place, should also be closed automatically right? That means memory should be released and garbage collected, database resources must be closed, etc.
2006-09-08
09:45:11 ·
update #1