Closed jnioche closed 14 years ago
Fixed at c24d156a1bab26cdffcebef87a11fe626892c6b2.
This patch changes the XML mapping file structures a bit, so that the top level elements are now elements. Test mapping files gora-sql/src/test/conf/gora-sql-mapping.xml and gora-hbase/src/test/gora-hbase-mapping.xml should be fairly obvious. However, more info for the exact schemas of the files will be provided soon.
We could have several tables using the same schema but requiring different names (e.g. main webtable in NutchBase and tables for the segments) + these names can be generated dynamically and are not necessarily known in advance. AFAIU Gora currently assumes that there is 1 table per schema and gets its name from there which is a limitation. I suggest that we separate name of the schema from the name of the tables, by default if no name is specified for a table then the name of the schema would be used