Re: [Geotools-devel] Caching shapefile datastores

2009-07-01 Thread Ben Caradoc-Davies
And an equal amount of trouble is caused by users calling dispose() on a shapefile DS, not knowing it is cached, and blowing away open locks if something else has it open as well. GEOT-2569 shows what happens if we throw finalizers into the mix. Hairy. Jody Garnett wrote: > I thought we address

Re: [Geotools-devel] Caching shapefile datastores

2009-07-01 Thread Andrea Aime
Jody Garnett ha scritto: > I thought we addressed this already? Perhaps only on trunk ... > > The good reason was that we were unable to trust our user community to > hold onto a datastore instance; and two datastores both attacking the > same shapefile can result in some trouble. Yeah, it was ad

Re: [Geotools-devel] Caching shapefile datastores

2009-07-01 Thread Jody Garnett
I thought we addressed this already? Perhaps only on trunk ... The good reason was that we were unable to trust our user community to hold onto a datastore instance; and two datastores both attacking the same shapefile can result in some trouble. Jody On Wed, Jul 1, 2009 at 6:41 PM, Andrea Aime