openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fayw...@apache.org
Subject svn commit: r752304 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionaryFactory.java
Date Tue, 10 Mar 2009 23:33:45 GMT
Author: faywang
Date: Tue Mar 10 23:33:45 2009
New Revision: 752304

URL: http://svn.apache.org/viewvc?rev=752304&view=rev
Log:
OPENJPA-973: allow db2jcc driver to work with informix

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionaryFactory.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionaryFactory.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionaryFactory.java?rev=752304&r1=752303&r2=752304&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionaryFactory.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionaryFactory.java
Tue Mar 10 23:33:45 2009
@@ -221,7 +221,7 @@
             return dbdictionaryPlugin.unalias("sybase");
         if (prod.indexOf("adaptive server") != -1)
             return dbdictionaryPlugin.unalias("sybase");
-        if (prod.indexOf("informix") != -1)
+        if (prod.indexOf("informix") != -1 || prod.indexOf("ids") != -1)
             return dbdictionaryPlugin.unalias("informix");
         if (prod.indexOf("hsql") != -1)
             return dbdictionaryPlugin.unalias("hsql");



Mime
View raw message