SchemaCrawler Offers Three API Models to Explore and Understand Database Schemas
SchemaCrawler is an open-source tool that connects to any JDBC-accessible database and converts raw metadata into documentation, diagrams, lint reports, and a Java API. Its Java API provides three distinct programmatic models: Catalog, ERModel, and ImportanceModel, each offering a different level of abstraction over the same database. The Catalog model serves as the foundation, exposing physical database objects such as tables, columns, indexes, foreign keys, and routines directly from JDBC metadata. ERModel builds on Catalog to add inferred entity-relationship semantics, while ImportanceModel enables graph-based analysis of dependency topology and domain clustering. Together, the three models are designed to help developers document legacy databases, enforce design rules in CI pipelines, and make schema knowledge accessible to both humans and AI agents.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in