Are you sure you can't use insertable = false, updateable = false for these @JoinColumns?
As far as I understand, you can initialize gameid once by setting game property, and after that you don't need to change it since Tiles and Groups belong to the same Game.