JPA Annotation Attribute
in jakarta.persistence.ForeignKey

ConstraintMode value default CONSTRAINT


(Optional) Used to specify whether a foreign key constraint should be generated when schema generation is in effect.
Since:
JPA 2.1