public class DBDictionaryFactory extends Object
Constructor and Description |
---|
DBDictionaryFactory() |
Modifier and Type | Method and Description |
---|---|
static DBDictionary |
calculateDBDictionary(JDBCConfiguration conf,
String url,
String driver,
String props)
Attempt to create the dictionary from the given connection URL and
driver name, either or both of which may be null.
|
static DBDictionary |
newDBDictionary(JDBCConfiguration conf,
DataSource ds,
String props)
Create the dictionary using connection metadata to determine its type.
|
static DBDictionary |
newDBDictionary(JDBCConfiguration conf,
String dclass,
String props)
Create the dictionary for the given class name and properties.
|
static String |
toString(DatabaseMetaData meta)
Return a string containing all the property values of the given
database metadata.
|
public static DBDictionary newDBDictionary(JDBCConfiguration conf, String dclass, String props)
public static DBDictionary calculateDBDictionary(JDBCConfiguration conf, String url, String driver, String props)
public static DBDictionary newDBDictionary(JDBCConfiguration conf, DataSource ds, String props)
public static String toString(DatabaseMetaData meta) throws SQLException
SQLException
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.