public void testOneToManySetCMROnInverseSideResetPK() throws Exception {
beginTransaction();
try {
OneInverseSideLocal inverseLocal = createOneInverseSide(compoundPK_20_10_field1);
ManyOwningSideLocal owningLocal = createManyOwningSide(compoundPK_20_20, compoundPK_20_20_field1);
inverseLocal.setManyOwningSide(Collections.singleton(owningLocal));
// todo should fail when we have fk as part of pk
// Assert.fail();
completeTransaction();
} catch (TransactionRolledbackLocalException e) {
if (!(e.getCause() instanceof IllegalStateException)) {