The root cause is that joinedsubclasses use their own attributes to judge whether there is an idenfierMapper. The correct behavior is to use the attributes of the parent class(superClass) to judge in the inheritance scenario. canExtractIdOutOfEntity() return false due to this problem, then the ID is null and the problem occurs. |