-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: Trunk
-
Fix Version/s: Upcoming Branch
-
Component/s: framework
-
Labels:None
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 ?