You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by pp...@apache.org on 2009/10/20 17:54:35 UTC
svn commit: r827712 -
/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PostgresDictionary.java
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);
}
}