Using ORM With Plugins - Mura Docs v6

Using ORM With Plugins

You can tell Mura that a directory within your plugin contains ORM entities by using the ormCFClocation config.xml.cfm attribute.

/plugin/config.xml.cfm

<plugin>
...
<ormcfclocation>path/to/entites</ormcfclocations>
...
<plugin>

Mura has ORM enabled by default with the following settings found under /config/settings.ini.cfm:

ormFlushAtRequestEnd=false
ormEventhandling=true
ormAutomanageSession=false
ormSavemapping=false
ormSkipCFCwitherror=false
ormUseDBforMapping=true
ormAutogenmap=true
ormLogsql=false

You can override any of the above settings in the main Mura configuration file /config/settings.ini.cfm. However, it is important to keep in mind that all other Mura plugins using ORM will share this same configuration.