hibernate报错java.lang.IllegalArgumentException: Cannot create TypedQuery for query with more than one
hibernate报错java.lang.IllegalArgumentException: Cannot create TypedQuery for query with more than one return using requested result type
hibernate在做关联查询时无法将结果映射到Bean中
public class Dept {
@ApiModelProperty(value = "科室id", example = "0")
@Transient
原创
2020-12-16 15:40:18 ·
653 阅读 ·
0 评论