Fixed a bug in the new recursive SQL statements that prevented them from operating on oracle. Now they should work on both oracle and postgres.
Reformatted source for readability and conformance.
Excluded the update of the xml_index table in insert,update, and delete if the usexmlindex option is set to false.
Reformatted DBQuery.java for readability and consistency.
Changed printAttributeQuery() to no longer depend on the xml_index table. Now, if useXMLIndex is false, the method will use a recursive query on xml_nodes to match paths instead of using xml_index.
Some refactoring of the printExtendedSQL() methods to eliminate redundancy in the code andto provide more readable documentation.
Moved decision about whether to use xml_index forquery to the metacat.properties as "usexmlindex". Defaultis now false. Still have some refactoring to do to remove afew more uses of the xml_index table.
Created new printExtendedSQL function that can get the extendedreturn fields using only xml_nodes and not xml_index. Onestep closer to eliminating the dependence ofn xml_index.
Created test class QuerySpecificationTest and started process of removing the xml_index from the QuerySpecification code. Reformatted some classes for readability.
Removed the "getdataguide" action as it was always experimental and is no longer used in metacat or morpho.
View revisions
Also available in: Atom