Re: [JPP-Devel] OpenJump database support

2009-04-23 Thread Martin Davis
To jump in here, the DataStore API was developed specifically to provide live connections to DBs. The DataSource API was old code that was just our first quick attempt at abstracting the concept of connecting to data sources. It was basically obsoleted by the DataStore work. We also found th

Re: [JPP-Devel] OpenJump database support

2009-04-23 Thread Larry Becker
Hi Paolo, Thanks for your thoughts. I'll defer to your experience in implementing database plugins since I wasn't directly involved with coding the ArcSDE plugin. The problem I have with the DataStore ArcSDE driver is that it is inherently multithreaded when you have more than one layer, so it

Re: [JPP-Devel] OpenJump database support

2009-04-23 Thread Paolo Rizzi
> Thanks Stefan. Also, as far as the best database base class to > consider, we have DataSource which loads the layer into memory, and > DataStore which doesn't but is read-only, and IMHO has problems with > multiple layers due to threading. I guess, if I was starting the task > of implementi

Re: [JPP-Devel] OpenJump database support

2009-04-22 Thread Sunburned Surveyor
Larry wrote: "Then I would consider how best to fix the DataStore model so that it is more reliable and supports read/write." I'm in favor of refactoring the DataSource class to support the H2 database as well. SS On Wed, Apr 22, 2009 at 6:20 PM, Sunburned Surveyor wrote: > Stefan, > > I haven'

Re: [JPP-Devel] OpenJump database support

2009-04-22 Thread Sunburned Surveyor
Stefan, I haven't been able to test Larry's mod to the BasicFeature class or his plug-in that uses this method. I'm afraid I've been putting in some long hours at work, and haven't had time for any coding. :[ However, I am still employed as a land surveyor in the epicenter of the housing crisis,

Re: [JPP-Devel] OpenJump database support

2009-04-22 Thread Larry Becker
Thanks Stefan. Also, as far as the best database base class to consider, we have DataSource which loads the layer into memory, and DataStore which doesn't but is read-only, and IMHO has problems with multiple layers due to threading. I guess, if I was starting the task of implementing a new datab

Re: [JPP-Devel] OpenJump database support

2009-04-22 Thread Stefan Steiniger
+1 I was going to ask by the end of the week if Landon tested it and if we can add the method. Basically I just trust you on that (having way more developer experience than I have). sorry that databases are not my area if expertise - although I may know some very few things about it stefan L