O/R-Mapping of GML Application Schemas

Hi folks,


what's your opinion about storing complete GML Application Schemas to a relational database?


I think GML is a really good interchage format but in a way of storing in database  too complex. Nevertheless I have to deal with this exercise. I know the O/R-Mapping tools like Jaxb, hyperjaxb, hibernate, hibernate-spatial, jibx etc. but these tools can't  bridge the gap between the schema-generation and the document-Import, because the process of unmarshal is not automatic. Another way to import an GML-document is via ogr2ogr, but this tool maps the gfs, not the application schema.

So do you think, that GML should imported to databases and if so what's your strategy and your experiences?


kind regards