mirror of https://github.com/apache/openjpa.git
OPENJPA-973: allow db2 jcc driver to access Informix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756045 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
944ee1607b
commit
b00ef73b40
|
@ -73,9 +73,9 @@ public class DBDictionaryFactory {
|
|||
*/
|
||||
public static DBDictionary calculateDBDictionary(JDBCConfiguration conf,
|
||||
String url, String driver, String props) {
|
||||
String dclass = dictionaryClassForString(driver, conf);
|
||||
String dclass = dictionaryClassForString(getProtocol(url), conf);
|
||||
if (dclass == null)
|
||||
dclass = dictionaryClassForString(getProtocol(url), conf);
|
||||
dclass = dictionaryClassForString(driver, conf);
|
||||
if (dclass == null)
|
||||
return null;
|
||||
return newDBDictionary(conf, dclass, props);
|
||||
|
|
Loading…
Reference in New Issue