ORMGetSessionFactory()

edit

Returns ORM session factory instance

ORMGetSessionFactory( datasource=string );

Returns: object

Argument Description
datasource
string, optional
edit

datasource used for the session.

if not defined, the datasource defined in application.cfc/cfapplication will be used.

Usage Notes

edit

If ORM is not enabled for that datasource, an exception will be thrown

Examples

edit

There are currently no examples for this function.

See also