Closed nicolas-rempulski closed 10 years ago
We could add a special property from the application.conf, for example:
ortientdb.mydb.autolazyloading = true
The default value would be true, since by default on orientdb the lazyloading is activated. Does that sound all-right for you ?
Yep seems perfect.
A bonus would be to use a model annotation / application conf key to list models we want to use LazyLoading with and those not to use LazyLoading. But seems more difficult and not necessarily useful.
:+1: All right, we will keep it simple for now.
close with f56f2fc6eaddc2164f7237f6d1d44da55215ecef
A property in application.conf should allow to disable LazyLoading in the instantiated CRUD.
I think, in OrientDbCrudService, something like
Would do the trick