[coldbox-3.5.0-BE] DI In ActiveEntity?

I am trying to inject a plugin into an ActiveEntity object. I’ve enabled ORM Event Handling as instructed on the wiki (http://wiki.coldbox.org/wiki/WireBox-EntityInjection.cfm).

From Application.cfc:

this.ormenabled = true;

this.ormsettings = { cfclocation=“model”, dialect=“MySQL”, dbcreate=“update”, eventhandling=“true”, eventhandler=“model.ORMEventHandler” };

In my ActiveEntity I have added a property:

Yep. The auto wire interceptor does not do this anymore in 3.5. You control it via the new orm config struct look at the what’s new section.

Brilliant! Thanks Luis.

Hrm. I added to my Coldbox.cfc:

orm = { injection = { enabled = true } };