JDBC lint - Mailing list pgsql-jdbc

From Andrew Gaul
Subject JDBC lint
Date
Msg-id 20131204193756.GD12296@sherlock.maginatics.com
Whole thread Raw
Responses Re: JDBC lint  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-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/


pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: The PostgreSQl 9.3 JDBC driver fails to find foreign tables
Next
From: Dave Cramer
Date:
Subject: Re: JDBC lint