1、多表查询
实体类增加:
JPA注解:@Transient 指定实体的非持久字段或属性
JPA 持续性提供程序不会对批注为 @Transient 的属性或字段持久保存(或创建数据库模式)。
该批注可以与 @Entity 、@MappedSuperclass 和 @Embeddable 一起使用。
该批注没有属性
JPA学习
原文:http://www.cnblogs.com/bonnie-lbn/p/5158080.html