В чем разница между @UniqueConstraint и @Column (unique = true) ? Например: @Table( name = "product_serial_group_mask", uniqueConstraints = {@UniqueConstraint(columnNames = {"mask", "group"})} ) И @Column(unique = true) @ManyToOne(optional = false, fetch = FetchType.EAGER) private...