RSS Feed for This PostCurrent Article

Java: Generate Database Schema using SchemaSpy

SchemaSpy is a graphical database schema metadata browser.

It is a Java-based tool (requires Java 1.4 or higher) that analyzes the metadata of a schema in a database and generates a visual representation of it in a browser-displayable format. It lets you click through the hierarchy of database tables via child and parent table relationships. The browsing through relationships can occur though HTML links and/or though the graphical representation of the relationships. It’s also designed to help resolve the obtuse errors that a database sometimes gives related to failures due to constraints.

image

SchemaSpy uses the dot executable from Graphviz to generate graphical representations of the table/view relationships. This was initially added for people who see things visually. Now the graphical representation of relationships is a fundamental feature of the tool. Graphvis is not required to view the output generated by SchemaSpy, but the dot program should be in your PATH (not CLASSPATH) when running SchemaSpy or none of the graphs will be generated.

Popularity: 1% [?]


Trackback URL


RSS Feed for This PostPost a Comment