2. What is SchemaCrawler? Schema discovery tool “grep” through your schema Create schema diagrams Lint your schema Infer table relationships Interact with your database using JavaScript Write templates to generate output http://www.schemacrawler.com 2
3. About Project started about 8 years ago Continuously maintained Written in pure Java and pure JDBC Open source and free Business-friendly LGPL license Database and operating system independent Command-line tool Maven and ant support Provides a Java API for database metadata http://www.schemacrawler.com 3
4. Installation Download and unzip A large number of examples provided Several database-specific versions available Open source JDBC drivers bundled where available Oracle and DB2 drivers need to be provided GraphViz needed for graphing http://www.schemacrawler.com 4
7. COLUMN_TYPE: does not exist SQL_DATA_TYPE: unusedDATA_TYPE: yes!SchemaCrawler POJO boolean value getType() returns an enum http://www.schemacrawler.com 5 http://www.devx.com/Java/Article/32443/1954
21. Examples Help and options overview Basic schema output, in text and HTML Count and dump grep Triggers Stored procedures Diagram Lint http://www.schemacrawler.com 9