解除映射错误 注释掉是对的 在for中 student.setClass(NULL);这样接触也是错误的,要从class那一端接触关系,不能反之。 因为student从class那里而来的,不能自己接触关系,要靠class