好吧,在阅读以下文章http://256stuff.com/gray/docs/misc/hibernate_lazy_field_access_annotations.shtml之后,
我意识到,属性访问应该是我要获取的属性,而不是实际的
child对象。因此,将
id访问权限
AbstractEntity从字段更改为属性就可以了。

好吧,在阅读以下文章http://256stuff.com/gray/docs/misc/hibernate_lazy_field_access_annotations.shtml之后,
我意识到,属性访问应该是我要获取的属性,而不是实际的
child对象。因此,将
id访问权限
AbstractEntity从字段更改为属性就可以了。