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...
New JDBC feature in Java 7
Re: New JDBC feature in Java 7
Smells like nerd in here!
Re: New JDBC feature in Java 7
Oh hey, yeah we've had that in C# for a while...
"That line you read, of course is mine, however, read so badly, it sounds like yours" -- Roman Noble