Re: anyway to initialize ORM AFTER onApplicationStart()?

2015-03-19 Thread Jochem van Dieten
On Thu, Mar 19, 2015 at 12:22 AM, Yuliang Ruan wrote: 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

anyway to initialize ORM AFTER onApplicationStart()?

2015-03-18 Thread Yuliang Ruan
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