JDBC 4.1 and try-with-resources
Joshua Bloch
jjb at google.com
Sat Sep 11 00:30:25 PDT 2010
Joe,
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,
Josh
On 9/11/10, Joe Darcy <joe.darcy at oracle.com> wrote:
> Hello.
>
> 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 [1] 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 [2] in due course.
>
> -Joe
>
> [1] http://hg.openjdk.java.net/jdk7/tl/jdk/rev/c786a9c927fd
> [2] http://dlc.sun.com.edgesuite.net/jdk7/binaries/index.html
>
>
>
>
>
More information about the coin-dev
mailing list