railo.runtime.orm
Class ORMConfiguration
java.lang.Object
railo.runtime.orm.ORMConfiguration
public class ORMConfiguration
- extends Object
DBCREATE_NONE
public static final int DBCREATE_NONE
- See Also:
- Constant Field Values
DBCREATE_UPDATE
public static final int DBCREATE_UPDATE
- See Also:
- Constant Field Values
DBCREATE_DROP_CREATE
public static final int DBCREATE_DROP_CREATE
- See Also:
- Constant Field Values
AUTO_GEN_MAP
public static final Collection.Key AUTO_GEN_MAP
CATALOG
public static final Collection.Key CATALOG
CFC_LOCATION
public static final Collection.Key CFC_LOCATION
IS_DEFAULT_CFC_LOCATION
public static final Collection.Key IS_DEFAULT_CFC_LOCATION
DB_CREATE
public static final Collection.Key DB_CREATE
DIALECT
public static final Collection.Key DIALECT
FLUSH_AT_REQUEST_END
public static final Collection.Key FLUSH_AT_REQUEST_END
LOG_SQL
public static final Collection.Key LOG_SQL
SAVE_MAPPING
public static final Collection.Key SAVE_MAPPING
SCHEMA
public static final Collection.Key SCHEMA
SECONDARY_CACHE_ENABLED
public static final Collection.Key SECONDARY_CACHE_ENABLED
SQL_SCRIPT
public static final Collection.Key SQL_SCRIPT
USE_DB_FOR_MAPPING
public static final Collection.Key USE_DB_FOR_MAPPING
CACHE_CONFIG
public static final Collection.Key CACHE_CONFIG
CACHE_PROVIDER
public static final Collection.Key CACHE_PROVIDER
ORM_CONFIG
public static final Collection.Key ORM_CONFIG
EVENT_HANDLING
public static final Collection.Key EVENT_HANDLING
EVENT_HANDLER
public static final Collection.Key EVENT_HANDLER
AUTO_MANAGE_SESSION
public static final Collection.Key AUTO_MANAGE_SESSION
SKIP_WITH_ERROR
public static final Collection.Key SKIP_WITH_ERROR
NAMING_STRATEGY
public static final Collection.Key NAMING_STRATEGY
load
public static ORMConfiguration load(Config config,
ApplicationContextPro ac,
Element el,
Resource defaultCFCLocation,
ORMConfiguration defaultConfig)
load
public static ORMConfiguration load(Config config,
ApplicationContextPro ac,
Struct settings,
Resource defaultCFCLocation,
ORMConfiguration defaultConfig)
hash
public String hash()
autogenmap
public boolean autogenmap()
- Returns:
- the autogenmap
getCatalog
public String getCatalog()
- Returns:
- the catalog
getCfcLocations
public Resource[] getCfcLocations()
- Returns:
- the cfcLocation
isDefaultCfcLocation
public boolean isDefaultCfcLocation()
getDbCreate
public int getDbCreate()
- Returns:
- the dbCreate
getDialect
public String getDialect()
- Returns:
- the dialect
eventHandling
public boolean eventHandling()
- Returns:
- the eventHandling
eventHandler
public String eventHandler()
namingStrategy
public String namingStrategy()
flushAtRequestEnd
public boolean flushAtRequestEnd()
- Returns:
- the flushAtRequestEnd
logSQL
public boolean logSQL()
- Returns:
- the logSQL
saveMapping
public boolean saveMapping()
- Returns:
- the saveMapping
getSchema
public String getSchema()
- Returns:
- the schema
secondaryCacheEnabled
public boolean secondaryCacheEnabled()
- Returns:
- the secondaryCacheEnabled
getSqlScript
public Resource getSqlScript()
- Returns:
- the sqlScript
useDBForMapping
public boolean useDBForMapping()
- Returns:
- the useDBForMapping
getCacheConfig
public Resource getCacheConfig()
- Returns:
- the cacheConfig
getCacheProvider
public String getCacheProvider()
- Returns:
- the cacheProvider
getOrmConfig
public Resource getOrmConfig()
- Returns:
- the ormConfig
skipCFCWithError
public boolean skipCFCWithError()
autoManageSession
public boolean autoManageSession()
toStruct
public Object toStruct()
dbCreateAsInt
public static int dbCreateAsInt(String dbCreate)
dbCreateAsString
public static String dbCreateAsString(int dbCreate)
Copyright © 2012 Railo