Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Trunk
-
None
-
None
Description
I'd like to run a groovy script to make some database queries without running a full ofbiz server. Something like the following
Delegator d = getDelegator("default") println("will make call on database") def result = EntityQuery.use(d).from("Product").queryList() println(result)
But to do so I need to call `ComponentContainer.init` which retrieve `Config` from `Start` singleton. So to make my use case work I only need a public `setConfig` method on `Start` class, is this ok for you ?