sbt-dao-generator and scala-db-codegen
These are competitors—both generate Scala boilerplate from database schemas as sbt plugins, serving the same use case of reducing manual DAO/model class writing.
About sbt-dao-generator
sbt-dao-generator/sbt-dao-generator
code generator sbt plugin from database schema
Generates Scala case classes and DAOs from JDBC-connected database schemas using FreeMarker templates, with customizable mappers for table/column-to-code naming conventions and multi-template support. Integrates directly into sbt's source generation pipeline via JDBC introspection, allowing runtime schema discovery and per-class output directory routing. Supports advanced type mapping that considers table and column metadata (e.g., nullable fields, primary keys, column remarks) to produce idiomatic Scala types including `Option` wrappers.
About scala-db-codegen
olafurpg/scala-db-codegen
Scala code/boilerplate generator from a db schema
Scores updated daily from GitHub, PyPI, and npm data. How scores work