From c67cd5d0be03ee6dac397b4ca48304aaaeaed1c8 Mon Sep 17 00:00:00 2001 From: Fay Wang Date: Tue, 10 Mar 2009 23:33:45 +0000 Subject: [PATCH] OPENJPA-973: allow db2jcc driver to work with informix git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752304 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/openjpa/jdbc/sql/DBDictionaryFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionaryFactory.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionaryFactory.java index 5e780385e..ac204436c 100644 --- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionaryFactory.java +++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionaryFactory.java @@ -221,7 +221,7 @@ public class DBDictionaryFactory { 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");