I am receiving the following error when attempting to save an ORM entity in ColdBox 3.8.1.
Error Type: Application : [N/A]
Error Messages: coldfusion.runtime.UndefinedVariableException: Variable SESSIONSTORAGE is undefined.
Root cause :org.hibernate.HibernateException: coldfusion.runtime.UndefinedVariableException: Variable SESSIONSTORAGE is undefined.
Here is my configuration.
ORM settings
// ORM Settings
this.ormEnabled = true;
this.datasource = appName;
this.ormSettings = {
cfclocation = ['/models/orm'],
dbcreate = "none",
dialect = "MicrosoftSQLServer",
logSQL = true,
flushAtRequestEnd = true,
autoManageSession = false,
eventHandling = true,
eventHandler = "orm.ORMEventHandler",
savemapping = false
};
Coldbox.cfc
orm = {
injection = {
// enable entity injection
enabled = true,
// a list of entity names to include in the injections
include = "",
// a list of entity names to exclude from injection
exclude = ""
}
};
ORMEventHandler.cfc