openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
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 GMT
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);
         }
     }
 



Mime
View raw message