>
> seems such thing is disallowed, or at least Mapper complains.
> is it SQL requirement or what?
the mapper needs some set of PK columns defined for mapped classes so
that it can identify objects. they dont need to be actual PK columns
in the database.
in theory there just needs to be a function that can extract a primary
key from a row - it doesnt even necessarily have to be "use these
columns". though such a feature would require some API changes.