pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gaul <gaul@maginatics.com>
To: pgsql-jdbc@postgresql.org
Subject: JDBC lint
Date: Wed, 4 Dec 2013 11:37:57 -0800
Message-ID: <20131204193756.GD12296@sherlock.maginatics.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

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@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (5+ messages)  latest in thread

Message-ID: <20131204193756.GD12296@sherlock.maginatics.com>
Permalink:  ../20131204193756.GD12296@sherlock.maginatics.com/
Also on:    postgresql.org/message-id/20131204193756.GD12296@sherlock.maginatics.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: gaul@maginatics.com
  Subject: Re: JDBC lint
  In-Reply-To: <20131204193756.GD12296@sherlock.maginatics.com>
  References: <20131204193756.GD12296@sherlock.maginatics.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox