hibernate只想查询需要的属性,并封装到持久化类
我想查Student 所有字段+Physique的id和itemscores,其中itemscores里面的itemscore对象里面只要有result和score字段,并且把整个封装成一个Student,Hibernate能做到么?
http://blog.csdn.net/ag18976736136/article/details/52589435