lucee.Componentcontentbox.modules.contentbox-deps.modules.cborm.models.util.ORMUtilSupport
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com Author : Luis Majano & Mike McKellip Description : This implementation supports multiple DSNs for ORM a-la Adobe ColdFusion 9
Method Summary | |
---|---|
void
|
clearSession([string datasource])
Clear a session. |
void
|
closeSession([string datasource])
Close a session. |
void
|
evictQueries([string cachename], [string datasource])
Evict queries. |
void
|
flush([string datasource])
Flush a datasource. |
string
|
getDefaultDatasource()
Get the default application datasource. |
string
|
getEntityDatasource(any entity)
Returns the datasource for a given entity. |
any
|
getSession([string datasource])
Get session. |
any
|
getSessionFactory([string datasource])
Get session factory. |
Methods inherited from class lucee.Component |
---|
None |
Method Detail |
---|
Clear a session
datasource
Close a session
datasource
Evict queries
cachename
datasource
Flush a datasource
datasource
Get the default application datasource
Returns the datasource for a given entity
entity
- The entity reference. Can be passed as an object or as the entity name.Get session
datasource
Get session factory
datasource