Re: [Geotools-devel] GEOT-728, fix and refactor FIDMapper classes

2006-07-11 Thread Michael Brasser
yone use AutoIncrementFIDMapper as it currently exists? If > it changes to abstract, what will it break? > > It isn't clear to me why the MySQL problem illustrated below > occurs. If you add > ID 100 delete it and do a SELECT MAX(ID), shouldn't it again return > 1

Re: [Geotools-devel] GEOT-728, fix and refactor FIDMapper classes

2006-07-10 Thread Michael Brasser
ot sure if it would make sense to (or if you would even be willing to) look at this issue while you are working with the FIDMapper code? Regards, Michael On June 7, 2006, Michael Brasser wrote: > I also like your suggestion for making AutoIncrementFIDMapper > abstract (with subclasses fo

Re: [Geotools-devel] [udig-devel] [jira] Created: (UDIG-809) postgis doesn't raise events

2006-06-06 Thread Michael Brasser
Jesse, Thanks for the clarifications, that helps. A few additional thoughts: 1. I think Chris' suggestion is a good one -- oid's were phased out as of 8.1, so it would probably be good to check the version number before using them. Likewise, PostGISAutoIncrementMapper can't be used for vers

[Geotools-devel] [jira] Created: (GEOT-847) postgis FIDMapper always returns null

2006-05-09 Thread Michael Brasser (JIRA)
postgis FIDMapper always returns null - Key: GEOT-847 URL: http://jira.codehaus.org/browse/GEOT-847 Project: GeoTools Type: Bug Components: postgis Environment: Win 2000, JRE 5.0, Using geotools 2.2.x Reporter: Michael

Re: [Geotools-devel] AutoIncrementFIDMapper question

2006-05-01 Thread Michael Brasser
that I can use to reproduce the problem? -Justin Michael Brasser wrote: I am going by uDig's usage when a new feature is drawn using the edit tool. This creates and runs a CreateAndSetNewFeature command, which in turn creates and runs an AddFeatureCommand, which includ

Re: [Geotools-devel] AutoIncrementFIDMapper question

2006-04-29 Thread Michael Brasser
On Apr 29, 2006, at 11:30 PM, Jody Garnett wrote: Michael Brasser wrote: // should the ID be generated during an insert, we need to read it back // and set it into the feature So I was assuming that the purpose of createID was to retrieve the ID that was just generated? We need to tag in

Re: [Geotools-devel] AutoIncrementFIDMapper question

2006-04-29 Thread Michael Brasser
On Apr 29, 2006, at 9:06 PM, Jody Garnett wrote:Michael Brasser wrote: Hi,I am coming from the uDig mailing list. I was having problems in uDig saving information to a PostGIS database, and after debugging the problem for a while got to AutoIncrementFIDMapper in the Geotools package. In JDBCTextFea

[Geotools-devel] AutoIncrementFIDMapper question

2006-04-28 Thread Michael Brasser
t_id() (for MySQL)...Is this a bug, or have I misunderstood the purpose of AutoIncrementFIDMapper?Thanks,Michael Brasser