JDBC 4.1 and try-with-resources
jjb at google.com
Sat Sep 11 00:30:25 PDT 2010
That's marvelous news! I'm thrilled that the many JDBC users will be
able to enjoy the benefits of this construct. Thanks to Lance and all
those who made this happen.
Regards from Elba,
On 9/11/10, Joe Darcy <joe.darcy at oracle.com> wrote:
> 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 pushed a change set  for JDBC 4.1 that retrofits the
> AutoCloseable interface to the types:
> * java.sql.Connection
> * java.sql.ResultSet
> * java.sql.Statement
> The change will be available in the JDK 7 promoted builds  in due course.
>  http://hg.openjdk.java.net/jdk7/tl/jdk/rev/c786a9c927fd
>  http://dlc.sun.com.edgesuite.net/jdk7/binaries/index.html
More information about the coin-dev