com.solarmetric.kodo.impl.jdbc.schema
Class DBDictionaryFactory
java.lang.Object
|
+--com.solarmetric.kodo.impl.jdbc.schema.DBDictionaryFactory
- public class DBDictionaryFactory
- extends Object
Factory class to instantiate a dictionary. It will use
the following heuristic:
- Check to see if there is a DictionaryClass property,
and if so, use that to instantiate the dictionary.
- Check the URL in the JDBCConfiguration against a list
of pre-defined URLs for various dictionaries. If unknown,
it will return an instance of GenericDictionary.
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBDictionaryFactory
public DBDictionaryFactory()
getKnownDriverList
public static String[] getKnownDriverList()
- Returns a sample list of known JDBC drivers, for use in
a graphical component. We list all known driver classes, rather
than just the ones we support: it can't hurt to offer people choices.
getKnownConnectionURLList
public static String[] getKnownConnectionURLList()
- Returns a sample list of known JDBC URLs, for use in
a graphical component.
getDictionary
public static DBDictionary getDictionary(Connector connector,
JDBCConfiguration conf)
Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.