案例
public class Robot{ @ManyToOne//(fetch=FetchType.LAZY)// @JoinColumn(name="robottype_id") private RobotType robotType; }
1.使用fetch会抛异常