It is not possible do declare an entity with a custom constraint (for example 3 columns as a constraint) without using a primary key.