ORMGetSessionFactory()

Returns ORM session factory instance

ORMGetSessionFactory( datasource=string );

Returns: object

Argument Description
datasource
string, optional

datasource used for the session.

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

Usage Notes

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

Examples

There are currently no examples for this function.

See also