Ok, using the foreignKey attribute of CollectionTable it does work now, actually. (Before I've used foreignKey of JoinColumn) Sorry for the noise!