If mappedBy references an association mapped to a @JoinFormula, Hibernate fails with a CCE.
It would be better if we made this work.