HHH-7121 : unique constraint should not be created for ID columns