Lucee サーバーで ORM を使用しようとしていますが、引き続きエラーが発生しますthere is no Session for the datasource [mydatasource]。データソースは存在し、接続は機能しており、管理者で検証され、cfquery でテストされています。
こちらがapplication.cfc
<cfcomponent>
<cffunction name="onRequestStart" access="public" returntype="boolean" output="false">
<cfset this.datasource = "rift" />
<cfset this.ormEnabled = true />
<cfsetting showdebugoutput="false" />
<cfset this.ormsettings = { } />
<!---<cfset this.ormsettings.dbcreate = "dropcreate" />--->
<cfset this.ormsettings.logSQL = true />
<cfset ORMReload() />
<cfset testquery = ORMExecuteQuery("from test")>
<cfreturn true />
</cffunction>
</cfcomponent>