Avoid insert ‘null’ values to database table via JPA December 22, 2023 by Tarik Using the annotation @Column(insertable = false) will prevent the value being generated in the sql.