JPA Annotation Attributein jakarta.persistence.CheckConstraintString options default "" (Optional) A SQL fragment appended to the generated DDL which creates this constraint. Since:JPA 3.2