Andrea Aime ha scritto: > The idea of grafting a jdbc specific bit in the FeatureTypeInfo > interface does not really make me jump of joy. Alternatives? > Extending the brief map converter to support complex objects as > values I guess, which kind of seems to invalidating the reason > to have a brief converter in the first place, isn't it?
Ah, I see now that MetadataMap has a get(key, Class target) method using converters. So having a converter between String and VirtualTable would work. However it would be nice if the persister went also the other way, and used converters instead of toString()... or used MetadataMap.get(key, String.class) which might have a special handling of the string case (toString() if the converters don't return anything else) Sounds better? Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
