| I have not been able to pin down the exact reproduction steps but what I've found is that when doing processEndOfQueue and going into ToOneFkSecondPass.doSecondPass, BinderHelper.createSyntheticPropertyReference can throw a MappingException when trying to Ejb3JoinColumn.checkReferencedColumnsType due to the ordering of passes in the List<FkSecondPass> endOfQueueFkSecondPasses collection. Since the loop inside the ToOneFkSecondPass.doSecondPass only catches RecoverableException the whole second pass fails. |