Project Coin: JDBC 4.1 and try-with-resources
I'm happy to report that Lance Andersen and the JDBC expert group have decided to support the new try-with-resources statement in JDBC 4.1. Lance just [URL="http://hg.openjdk.java.net/jdk7/tl/jdk/rev/c786a9c927fd"]pushed a change set for JDBC 4.1[/URL] that retrofits the AutoCloseable interface to the types:
[/LIST] The change will be available in [URL="http://dlc.sun.com.edgesuite.net/jdk7/binaries/index.html"]JDK 7 promoted builds[/URL] in due course.
[url=http://blogs.sun.com/darcy/entry/project_coin_jdbc_4_1]Read More about [Project Coin: JDBC 4.1 and try-with-resources...[/url]