I am glad to announce that thanks to Mike McKellip our ORM services, virtual services, handlers, etc, now support multiple datasources. Most of the methods now take in a ‘datasource’ argument so you can specifiy it or it defaults to the default one. The changes are transparent and backwards compatible.
I just updated to the latest dev and received a binding error that the
datasource was not defined.
CFORMUtil.getDefaultDatasource() returns the datasource property from
the application settings, but does not account for the datasource
specified in the ORMSettings.
I believe it should return the datasource in ORMSettings if that
exists, otherwise return the Application setting.
In my case I only had the ORM setting defined which causing the error.