Value convertors, raw SQL procedures, portable DB constants, the type-safe CHECK DSL, and build-time diagnostics.