Re: Resource leaks in EntitySQLProcessor.groovy?

2023-07-12 Thread Paul Foxworthy
Thanks Deepak. Created Jira at https://issues.apache.org/jira/browse/OFBIZ-12836 . Cheers Paul On Tue, 11 Jul 2023 at 21:19, Deepak Dixit wrote: > Hi Paul, > > The resource should be closed properly, we can use groovy withClosable or > groovy 3 try with resource. > > No one touched the groov

Re: Resource leaks in EntitySQLProcessor.groovy?

2023-07-11 Thread Deepak Dixit
Hi Paul, The resource should be closed properly, we can use groovy withClosable or groovy 3 try with resource. No one touched the groovy code for the ARM. Thanks & Regards -- Deepak Dixit ofbiz.apache.org On Tue, Jul 11, 2023 at 11:09 AM Paul Foxworthy wrote: > Hi all, > > I want to check i

Resource leaks in EntitySQLProcessor.groovy?

2023-07-10 Thread Paul Foxworthy
Hi all, I want to check in case I'm missing something, but I think there are some problems with framework/webtools/groovyScripts/entity/EntitySQLProcessor.groovy At line 35 https://github.com/apache/ofbiz-framework/blob/e080f0bfa657b8b6ffd4cbf5629e0c648440b5f0/framework/webtools/groovyScripts/en