public class Pet {
@Name
private String name;
@Column
private int age;
@Column(value="version")//错误的
@Column(value = "version", version = true)//正确的
private int version;
}
添加回复
请先登陆