[size=x-large][color=orange][b]Spring集成Hibernate:column: id (should be mapped with insert="false" update="false")[/b][/color][/size]
[color=red][b]原因:column重复定义[/b][/color]
状况1:*.hbm文件
状况2:@Entity实体类
[color=red][b]原因:column重复定义[/b][/color]
状况1:*.hbm文件
<property name="begin" column="begin" type="date"/>
<property name="end" column="begin" type="date"/>
状况2:@Entity实体类
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "id", nullable = false)
private int id;
@Column(name = "id", nullable = true)
private String uuid;