Docs
Short notes on the schema problems Schemint flags and on what it
generates. No fluff, with real SQL and Java.
-
From CREATE TABLE to JPA Entity: the type mapping
How PostgreSQL types map to Java in a JPA Entity: identity, BigDecimal, timestamps, wrappers, and why.
-
PostgreSQL doesn't index your foreign keys
Why FKs get no index automatically, what it costs in joins and deletes, and the query to find the missing ones.
-
That VARCHAR status column is an enum in denial
CHECK constraint, native ENUM or lookup table: how to pick, and how to map it with @Enumerated in JPA.
-
Money in PostgreSQL and Java: NUMERIC and BigDecimal
Why float breaks money math, how to size NUMERIC, and the three classic BigDecimal traps.
-
created_at and updated_at: database DEFAULT or JPA annotation?
Pick one source for audit timestamps, and when timestamptz beats timestamp.
-
From JSON to Pydantic and TypeScript models
Inferring a schema from real payloads: mixed types, optional vs nullable fields, and date formats.
-
SQL schema diff: spotting breaking changes before deploy
Which schema changes break running clients, which don't, and the expand/contract pattern for the rest.
-
Tables without a primary key: what actually goes wrong
Duplicates, replication, ORMs and unaddressable rows: why even staging tables deserve an id.
Generators
Paste a schema or a JSON and get the models. Each opens with a live example.