Lucee Function Reference

ormgetsessionfactory()

Returns ORM session factory instance

Example

ormgetsessionfactory([string datasource]):object

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
datasource string  No datasource used for the session, if nor defined the datasource defined in application.cfc/cfapplication is used.