New JDBC feature in Java 7
Posted: Thu Aug 09, 2012 11:27 am
We can now declare jdbc resources within the try clause ie: try(Statement stmt = con.createStatement()) { }
and they will be automatically closed even if there is an Exception
I'm guessing this is the convo Walt and Zaneo were having a while back when Doozy was steam IMing me about the
confusing "try{} catch{} finally{}" programmer chat in minecraft. I wish I'd read the change logs a month ago...
and they will be automatically closed even if there is an Exception
I'm guessing this is the convo Walt and Zaneo were having a while back when Doozy was steam IMing me about the
confusing "try{} catch{} finally{}" programmer chat in minecraft. I wish I'd read the change logs a month ago...