I've updated OneToOneWithDerivedIdentityTest#testInsertFooAndBarWithDerivedId to reproduce this issue and added @FailureExpected annotation.