Versioning FID mapping is brittle, needs to be replaced by a simpler and more 
general solution
----------------------------------------------------------------------------------------------

                 Key: GEOT-1279
                 URL: http://jira.codehaus.org/browse/GEOT-1279
             Project: GeoTools
          Issue Type: Improvement
          Components: data versioning postgis 
            Reporter: Andrea Aime
            Assignee: Andrea Aime
            Priority: Critical
             Fix For: 2.4.0


Current FID mapping setup is brittle and error prone. Instead of sublassing fid 
mappers with versioning support, do create a single
wrapper knowing that the first element in the primary key is the revision 
column, and have it wrap the unmodified FID mappers
of the chosen datastore, leaving them unware of the expanded primary key.
Centralize all primary key attribute transformations in that wrapper, so no 
code has to know what the versioning columns are, and
which is the order of those in the primary key.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to