net.ontopia.topicmaps.cmdlineutils.rdbms
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.
Method Summary |
static void |
main(String[] argv)
Check a given database for topic map consistency.. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
conn
protected Connection conn
out
protected Writer out
RDBMSConsistencyChecker
public RDBMSConsistencyChecker(String dbProperties,
Writer writer)
throws SQLException,
IOException
- Throws:
SQLException
IOException
main
public static void main(String[] argv)
throws Exception
- Check a given database for topic map consistency..
In particular, checks for referential integrity and uniqueness.
- Throws:
Exception
Copyright © 2000-2012 Ontopia.