Hi,
I'm trying to store a VirtualTable object (for the sql view stuff)
in the MetadataMap, everything appears to be working in memory,
but when I try to save, I get this:

  <metadata>
     <entry key="cachingEnabled">false</entry>
     <entry 
key="JDBC_VIRTUAL_TABLE">org.geotools.jdbc.virtualta...@3fd372cf</entry>
   </metadata>

Looked in the brief map converter and noticed it assumes the map values
will always be strings, so it does a toString().

VirtualTable is a complex object instead... I guess it means I have to
modify FeatureTypeInfo and add the VirtualTable as a new optional field
as opposed to a metadata entry?

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?

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

Reply via email to