Class RDBMSConsistencyChecker
- java.lang.Object
-
- net.ontopia.topicmaps.cmdlineutils.rdbms.RDBMSConsistencyChecker
-
public class RDBMSConsistencyChecker extends Object
PUBLIC: Checks an RDBMS database holding topic map data for referential integrity and for uniqueness of source-locators, subject-indicators and subject-locators. Outputs tables/fields, where the field of one table references a field of another table with no corresponding value. Outputs field-combinations that fail the uniqueness test.
-
-
Field Summary
Fields Modifier and Type Field Description protected Connection
conn
protected Writer
out
-
Constructor Summary
Constructors Constructor Description RDBMSConsistencyChecker(String dbProperties, Writer writer)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String[] argv)
Check a given database for topic map consistency..
-
-
-
Field Detail
-
conn
protected Connection conn
-
out
protected Writer out
-
-
Constructor Detail
-
RDBMSConsistencyChecker
public RDBMSConsistencyChecker(String dbProperties, Writer writer) throws SQLException, IOException
- Throws:
SQLException
IOException
-
-