Spring Crud Generator v1.2.0 — Improved DB Compatibility, JSON Collections, and More Reliable Docker Runs

Published: (February 19, 2026 at 06:22 PM EST)
2 min read
Source: Dev.to

Source: Dev.to

Overview

v1.2.0 focuses on smoother real‑project usage: more predictable migrations across databases, fewer Docker Compose surprises, and enhanced JSON support for collection‑based fields. It also includes internal refactoring to keep the codebase easier to maintain and extend.

Database Compatibility

  • Improved Flyway script generation – migrations now behave more consistently across MySQL, MariaDB, MSSQL, and PostgreSQL, reducing “works on my DB” issues.
  • Cross‑database Flyway output is more robust.
  • Compatibility with newer MySQL versions ( > 8.4 ) has been added.
  • Reserved SQL keywords are now supported in Flyway scripts.
  • Unique constraint naming is consistent and correct.

JSON Type Support

The JSON type now supports collections, matching modern API patterns:

  • JSON>
  • JSON>

This makes modeling tags, attributes, nested configurations, and other “structured but flexible” data much easier without altering the domain model.

Docker Compose Enhancements

  • Added healthchecks so the Spring Boot application starts only after the database services are ready.
  • Fixed configuration of exposed vs. internal ports, reducing confusion and runtime issues.
  • Resolved the common problem where the Spring Boot container starts before the database is ready, preventing crash/retry loops.

Updated .openapi-generator-ignore

The following files are now excluded from regeneration/overwrites:

pom.xml
README.md
Readme.md
readme.md

Internal Improvements

  • Refactored the internal project structure for better maintainability and future extensibility.
  • Added a project banner that prints runtime metadata (version, source, and output paths), aiding generator pipelines and CI debugging.
  • Introduced a dedicated demo repository to illustrate expected output and integration flow:
    https://github.com/mzivkovicdev/spring-crud-generator-demo

Upgrade Notes

If you’re upgrading from earlier versions, v1.2.0 should be a drop‑in update for most setups. Benefits are immediate when targeting multiple databases, using JSON‑mapped fields, or running the project through Docker Compose.

Repository: https://github.com/mzivkovicdev/spring-crud-generator

0 views
Back to Blog

Related posts

Read more »

Apex B. OpenClaw, Local Embeddings.

Local Embeddings para Private Memory Search Por default, el memory search de OpenClaw envía texto a un embedding API externo típicamente Anthropic u OpenAI par...