Return-Path: Delivered-To: apmail-openjpa-commits-archive@www.apache.org Received: (qmail 4419 invoked from network); 20 Oct 2009 15:54:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Oct 2009 15:54:58 -0000 Received: (qmail 77905 invoked by uid 500); 20 Oct 2009 15:54:58 -0000 Delivered-To: apmail-openjpa-commits-archive@openjpa.apache.org Received: (qmail 77875 invoked by uid 500); 20 Oct 2009 15:54:58 -0000 Mailing-List: contact commits-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list commits@openjpa.apache.org Received: (qmail 77866 invoked by uid 99); 20 Oct 2009 15:54:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 15:54:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 15:54:56 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 274E723888FE; Tue, 20 Oct 2009 15:54:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r827712 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PostgresDictionary.java Date: Tue, 20 Oct 2009 15:54:35 -0000 To: commits@openjpa.apache.org From: ppoddar@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091020155435.274E723888FE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ppoddar Date: Tue Oct 20 15:54:34 2009 New Revision: 827712 URL: http://svn.apache.org/viewvc?rev=827712&view=rev Log: OPENJPA-1355: Correct argument list for Postgres dictionary Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PostgresDictionary.java Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PostgresDictionary.java URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PostgresDictionary.java?rev=827712&r1=827711&r2=827712&view=diff ============================================================================== --- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PostgresDictionary.java (original) +++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PostgresDictionary.java Tue Oct 20 15:54:34 2009 @@ -69,11 +69,15 @@ static { try { - postgresConnectionImpl = ConcreteClassGenerator.getConcreteConstructor(PostgresConnection.class, - Connection.class, PostgresDictionary.class); + postgresConnectionImpl = ConcreteClassGenerator.getConcreteConstructor( + PostgresConnection.class, + Connection.class, + PostgresDictionary.class); postgresPreparedStatementImpl = ConcreteClassGenerator.getConcreteConstructor( PostgresPreparedStatement.class, - PreparedStatement.class, Connection.class, PostgresDictionary.class); + PreparedStatement.class, + Connection.class, + PostgresDictionary.class); } catch (Exception e) { throw new ExceptionInInitializerError(e); } @@ -696,10 +700,9 @@ throws SQLException { return ConcreteClassGenerator. newInstance(postgresPreparedStatementImpl, - PreparedStatement.class, - super.prepareStatement(sql, rsType, rsConcur, false), - Connection.class, PostgresConnection.this, - PostgresDictionary.class, _dict); + super.prepareStatement(sql, rsType, rsConcur, false), + PostgresConnection.this, + _dict); } }