SQL to JPA Entity Generator — Free
Free online SQL to JPA entity generator for Spring Boot and Hibernate teams reverse-engineering an existing database. Paste PostgreSQL, MySQL, or generic CREATE TABLE DDL and get @Entity, @Table, @Id, @Column, and @GeneratedValue annotations with snake_case → camelCase field mapping. Ideal when onboarding to a legacy schema, bootstrapping Spring Data JPA repositories, or translating Flyway migrations into Java domain models before adding relationships and audit fields.
- Generate JPA entities from Flyway V1__init.sql or pg_dump table definitions
- Map VARCHAR, BOOLEAN, TIMESTAMPTZ, UUID, and numeric SQL types to Java fields
- Customize the entity class name before copying into src/main/java
- Export Python dataclasses, Go structs, or Rust models from the same DDL
- Use alongside Spring Boot JPA tutorials for @Column(name) and composite key patterns