openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1650957 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/conf/JDBCConfigurationImpl.java
Date Sun, 11 Jan 2015 19:53:00 GMT
Author: struberg
Date: Sun Jan 11 19:52:59 2015
New Revision: 1650957

URL: http://svn.apache.org/r1650957
Log:
OPENJPA-2534 cleanup DBDictionary alias handling

use class.getName() to prevent typos - no functional change yet.

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/conf/JDBCConfigurationImpl.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/conf/JDBCConfigurationImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/conf/JDBCConfigurationImpl.java?rev=1650957&r1=1650956&r2=1650957&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/conf/JDBCConfigurationImpl.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/conf/JDBCConfigurationImpl.java
Sun Jan 11 19:52:59 2015
@@ -201,25 +201,25 @@ public class JDBCConfigurationImpl
 
         dbdictionaryPlugin = addPlugin("jdbc.DBDictionary", true);
         aliases = new String[]{
-            "access", "org.apache.openjpa.jdbc.sql.AccessDictionary",
-            "db2", "org.apache.openjpa.jdbc.sql.DB2Dictionary",
-            "derby", "org.apache.openjpa.jdbc.sql.DerbyDictionary",
-            "empress", "org.apache.openjpa.jdbc.sql.EmpressDictionary",
-            "foxpro", "org.apache.openjpa.jdbc.sql.FoxProDictionary",
-            "h2", "org.apache.openjpa.jdbc.sql.H2Dictionary",
-            "hsql", "org.apache.openjpa.jdbc.sql.HSQLDictionary",
-            "informix", "org.apache.openjpa.jdbc.sql.InformixDictionary",
-            "ingres", "org.apache.openjpa.jdbc.sql.IngresDictionary",
-            "jdatastore", "org.apache.openjpa.jdbc.sql.JDataStoreDictionary",
-            "mariadb", "org.apache.openjpa.jdbc.sql.MariaDBDictionary",
-            "mysql", "org.apache.openjpa.jdbc.sql.MySQLDictionary",
-            "oracle", "org.apache.openjpa.jdbc.sql.OracleDictionary",
-            "pointbase", "org.apache.openjpa.jdbc.sql.PointbaseDictionary",
-            "postgres", "org.apache.openjpa.jdbc.sql.PostgresDictionary",
-            "soliddb", "org.apache.openjpa.jdbc.sql.SolidDBDictionary",
-            "sqlserver", "org.apache.openjpa.jdbc.sql.SQLServerDictionary",
-            "sybase", "org.apache.openjpa.jdbc.sql.SybaseDictionary",
-            "maxdb", MaxDBDictionary.class.getCanonicalName(),
+            "access", org.apache.openjpa.jdbc.sql.AccessDictionary.class.getName(),
+            "db2", org.apache.openjpa.jdbc.sql.DB2Dictionary.class.getName(),
+            "derby", org.apache.openjpa.jdbc.sql.DerbyDictionary.class.getName(),
+            "empress", org.apache.openjpa.jdbc.sql.EmpressDictionary.class.getName(),
+            "foxpro", org.apache.openjpa.jdbc.sql.FoxProDictionary.class.getName(),
+            "h2", org.apache.openjpa.jdbc.sql.H2Dictionary.class.getName(),
+            "hsql", org.apache.openjpa.jdbc.sql.HSQLDictionary.class.getName(),
+            "informix", org.apache.openjpa.jdbc.sql.InformixDictionary.class.getName(),
+            "ingres", org.apache.openjpa.jdbc.sql.IngresDictionary.class.getName(),
+            "jdatastore", org.apache.openjpa.jdbc.sql.JDataStoreDictionary.class.getName(),
+            "mariadb", org.apache.openjpa.jdbc.sql.MariaDBDictionary.class.getName(),
+            "mysql", org.apache.openjpa.jdbc.sql.MySQLDictionary.class.getName(),
+            "oracle", org.apache.openjpa.jdbc.sql.OracleDictionary.class.getName(),
+            "pointbase", org.apache.openjpa.jdbc.sql.PointbaseDictionary.class.getName(),
+            "postgres", org.apache.openjpa.jdbc.sql.PostgresDictionary.class.getName(),
+            "soliddb", org.apache.openjpa.jdbc.sql.SolidDBDictionary.class.getName(),
+            "sqlserver", org.apache.openjpa.jdbc.sql.SQLServerDictionary.class.getName(),
+            "sybase", org.apache.openjpa.jdbc.sql.SybaseDictionary.class.getName(),
+            "maxdb", MaxDBDictionary.class.getName(),
         };
         dbdictionaryPlugin.setAliases(aliases);
         dbdictionaryPlugin.setInstantiatingGetter("getDBDictionaryInstance");



Mime
View raw message