JPA Annotation Attributein javax.persistence.ForeignKeyString name default "" (Optional) The name of the foreign key constraint. If this is not specified, it defaults to a provider-generated name. Since:JPA 2.1