|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.davisor.data.SQLMappings
This class contains database -specific SQL mappings. All its methods are static, this class should never be instantiated.
| Method Summary | |
static java.lang.String |
getDefaultDB()
Return the default database type. |
static java.lang.String |
getSQLName(Type type,
java.lang.String dbType)
Get the SQL type name. |
static void |
register(java.lang.String bundleName,
java.lang.String dbType,
java.util.Locale locale)
Register a set of database mappings from a resource bundle. |
static void |
setDefaultDB(java.lang.String dbtype)
Sets the default database type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static void register(java.lang.String bundleName,
java.lang.String dbType,
java.util.Locale locale)
bundleName - name of the resource bundle to read. Null for default.dbType - name of the database type. Leave null for default.locale - locale for bundle, null for default.
public static java.lang.String getSQLName(Type type,
java.lang.String dbType)
type - type.dbType - database type name.
public static java.lang.String getDefaultDB()
public static void setDefaultDB(java.lang.String dbtype)
dbtype - name of the database type.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||