Re: JDBC lint

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Andrew Gaul <gaul(at)maginatics(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JDBC lint
Date: 2013-12-04 20:14:58
Message-ID: CADK3HHKHgOR-LZj3YEmvR-U-R+OsMJ73Vup0S9afubgXaMdLmA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Andrew,

How would this fix the jdbc drivers use of finalizers ?

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

On Wed, Dec 4, 2013 at 2:37 PM, Andrew Gaul <gaul(at)maginatics(dot)com> wrote:

> JDBC lint helps Java programmers write correct and efficient code when
> using the JDBC API. This includes resource management, e.g., missing
> Connection.close, incorrect use of JDBC, e.g., Statement.addBatch
> without Statement.executeBatch, and potential optimizations, e.g.,
> unread ResultSet columns. JDBC lint wraps DataSource and Connection and
> via dynamic proxy classes and thus has compatibility with all
> applications using JDBC. I tested against H2, MySQL, and PostgreSQL and
> hope users find this helpful:
>
> https://github.com/maginatics/jdbclint
>
> JDBC lint might help address issues discussed in the thread,
> "Remove usage of finalizers?":
>
>
> http://www.postgresql.org/message-id/9E5438C0-0A2E-4543-BE06-1E7A6D0E3B83@pilhuhn.de
>
> I appreciate any feedback!
>
> --
> Andrew Gaul
> http://maginatics.com/
>
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>

In response to

  • JDBC lint at 2013-12-04 19:37:57 from Andrew Gaul

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Andrew Gaul 2013-12-04 20:41:26 Re: JDBC lint
Previous Message Andrew Gaul 2013-12-04 19:37:57 JDBC lint