Hi,
I have the following in Application.cfc in the onRequestStart function so I can reload the ORM whenever I make changes to the models:
if( structKeyExists(URL,"ORMReload") ){
ORMReload();
}
Whenever I need to reload ORM, I would append the following:
?ormReload
This used to work in ColdBox 3.8, however after upgrading to ColdBox 4.2.0, it hasn't worked, unless I change the following in Application.cfc:
this.sessionTimeout = createTimeSpan(0,0,0,0);
this.applicationTimeout = createTimeSpan(0,0,0,0);
Refresh the application framework, i.e. ?fwreinit=1. Then reset the session and application timeout back to 30 minutes, say.
What has changed from coldbox 3.8 to 4.2? What am i doing wrong?
Please note in this.ormSettings struct I have the following (partial snippet):
dbcreate = "update",
eventhandling = true,
flushAtRequestEnd = false