Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VoIGs-0002sc-F0 for pgsql-jdbc@arkaria.postgresql.org; Wed, 04 Dec 2013 19:38:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VoIGr-00085r-0h for pgsql-jdbc@arkaria.postgresql.org; Wed, 04 Dec 2013 19:38:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VoIGq-00085l-Du for pgsql-jdbc@postgresql.org; Wed, 04 Dec 2013 19:38:04 +0000 Received: from mail-pd0-f174.google.com ([209.85.192.174]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VoIGm-00055v-Kb for pgsql-jdbc@postgresql.org; Wed, 04 Dec 2013 19:38:03 +0000 Received: by mail-pd0-f174.google.com with SMTP id y13so23154948pdi.33 for ; Wed, 04 Dec 2013 11:37:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=9jLLTlbkzB20CGfIsQmR9XrZUaIT+2yymjgxI0Tsu1I=; b=gIYu8h8g5/Tt/bucWGqq5CFdqovd0G6CI8o+xINkiQCz+5aGMPpyaODVtkWD7tUD9d zyEq+AA5mBYXqS4JbuTEVOjhxgpbXVWuDnQf8A6Vi3Nw4J3S/XJEq3YuV/z4QiEXLddp EoRwTZG1mAzU5WS0Jklo8CoSweJRRxvO2NYsmzlpZCIjJ3zVhTD9RT+rRbliEWyzPcky pmKOen0cymYSt7tpQYOn8+X9loKuAVG/Xez68GoEv9vduKd08SD1gy3hXnyKh5ATxZZ7 3qNU6l40nHFoi4jWx0AZxl3PvJITHXQwLrGarGZozQkXYnQbY1a9AGNJSWBCfkUD94ny sWbg== X-Gm-Message-State: ALoCoQmgd5SN7l7N5Rwt1ZU2I+ELAgIg8fb8J2pjhcMDlNdTihNMWqaz7jT7kB3w0TwAOoM+OdqC X-Received: by 10.66.250.163 with SMTP id zd3mr83632527pac.109.1386185878672; Wed, 04 Dec 2013 11:37:58 -0800 (PST) Received: from sherlock.maginatics.com (c-69-181-104-115.hsd1.ca.comcast.net. [69.181.104.115]) by mx.google.com with ESMTPSA id pe3sm108483863pbc.23.2013.12.04.11.37.57 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 04 Dec 2013 11:37:58 -0800 (PST) Date: Wed, 4 Dec 2013 11:37:57 -0800 From: Andrew Gaul To: pgsql-jdbc@postgresql.org Subject: JDBC lint Message-ID: <20131204193756.GD12296@sherlock.maginatics.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org 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