FIDMappers should be configurable
---------------------------------

         Key: GEOT-721
         URL: http://jira.codehaus.org/browse/GEOT-721
     Project: GeoTools
        Type: Improvement
  Components: main  
    Versions: 2.2.M0    
 Reporter: Paolo Rizzi
 Assigned to: James Macgill 
     Fix For: 2.2.M1


In DataStores derived from JDBCDataStore, and probably in all others as well,
there is a default of false for returnFIDColumnsAsAttributes() for all 
FIDMappers.
This should instead be configurable, so that one can decide upon it.
I know that with an explicit cast to JDBCDataStore you can call setFIDMapper()
and change this behaviour, but this is cumborsome and also it's not applicable
to all DataStores.
But the real bad thing is that it's not usable from GeoServer, since it's not 
usable
from the DataStoreFactory.
In my opinion ALL parameters should be accessible through the DataStoreFactory,
there should never be any case where one must configure a DataStore with using
its DataStoreFactory.


-- 
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:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to