A workaround is to provide @Override getters for the ID properties that exist in the superclass in the subclass.