public class SqlCmdsFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
clearCache()
Clears the provider cache.
|
static ISqlCmds |
get(EDbVendor vendor)
Gets or creates a vendor-specific SQL command resolver.
|
static int |
getCacheSize()
Gets the number of cached providers (for monitoring/debugging).
|
static void |
setUseModularProviders(boolean useModular)
Sets whether to use modular providers or fall back to monolithic TSqlCmds.
|
public static ISqlCmds get(EDbVendor vendor)
vendor - Database vendorIllegalArgumentException - if vendor is null or unsupportedpublic static void clearCache()
public static void setUseModularProviders(boolean useModular)
useModular - true to use new modular system, false for monolithicpublic static int getCacheSize()