Spring-Data-Jpa Repository – Underscore on Entity Column Name

I solved this error by renaming field to the name without underscore.

@Column(name = "municipal_id", nullable = false)
private Integer municipalId; // <-- field was renamed

Leave a Comment