current app sets the datasource in onApplicationStart(). i can't have ormEnabled=true unless there's a datasource. and it doesn't look like i can intialize orm at the end of onApplicationStart() by doing a this.ormEnabled=true
what are the alternatives?
I'm thinking one where i set this.datasource at the top of Application.cfc using a method getDatasource() and pull all of the datasource configuration code that's currently in onApplicationStart() and putting it into that new method. but that's quite a bit of work and leads to lots of change and lots of testing. anything ideas for less changing?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360265