spring3+hibernate3.3.5出现的问题
项目中使用spring3.0.3+hibernate3.3.5final,出现以下异常:
@Entity(name = "RoomPartInfo")public class RoomPartInfo {@Id@Column(length = 50)@GeneratedValue(generator = "system-uuid")@GenericGenerator(name = "system-uuid", strategy = "uuid")private String part_id;@Column(length = 30)private String part_type;@Column(length = 100)private String part_name;@ManyToOne(fetch = FetchType.EAGER, cascade = { CascadeType.PERSIST,CascadeType.PERSIST })@JoinColumn(name = "room_id", updatable = false)private Room room;private Byte part_addr;。。。}