WEB-INF.cftags.component coldbox.system.orm.hibernate.util.CFORMUtil
******************************************************************************* Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.coldbox.org | www.luismajano.com | 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])
|
void
|
closeSession([string datasource])
|
void
|
evictQueries([string cachename], [string datasource])
|
void
|
flush([string datasource])
|
string
|
getDefaultDatasource()
Get the default application datasource. |
string
|
getEntityDatasource(any entity)
Returns the datasource for a given entity. |
any
|
getSession([string datasource])
|
any
|
getSessionFactory([string datasource])
|
Methods inherited from class WEB-INF.cftags.component |
---|
None |
Method Detail |
---|
clearSession
in interface
cachebox.build-coldbox.coldbox.system.orm.hibernate.util.IORMUtil
datasource
closeSession
in interface
cachebox.build-coldbox.coldbox.system.orm.hibernate.util.IORMUtil
datasource
evictQueries
in interface
cachebox.build-coldbox.coldbox.system.orm.hibernate.util.IORMUtil
cachename
datasource
flush
in interface
cachebox.build-coldbox.coldbox.system.orm.hibernate.util.IORMUtil
datasource
Get the default application datasource
getDefaultDatasource
in interface
cachebox.build-coldbox.coldbox.system.orm.hibernate.util.IORMUtil
Returns the datasource for a given entity
getEntityDatasource
in interface
cachebox.build-coldbox.coldbox.system.orm.hibernate.util.IORMUtil
entity
- The entity reference. Can be passed as an object or as the entity name.
getSession
in interface
cachebox.build-coldbox.coldbox.system.orm.hibernate.util.IORMUtil
datasource
getSessionFactory
in interface
cachebox.build-coldbox.coldbox.system.orm.hibernate.util.IORMUtil
datasource