Gavin's short response suggests he's encountered this problem before, and that he has a baked answer for it. On the other hand, "formula" doesn't seem to have been designed to solve this problem (overlapping keys) -- and since the problem can't be solved with "column", that Hibernate was not designed to solve it.
So, since Hibernate was not designed to manage overlapping keys, can you comment on the potential consequences of using overlapping keys? Is it safe?
To be clear, by overlapping keys I am referring to the example of a column that is included in a composite natural primary key AND one or more composite natural foreign keys.
|