Hi I have just started using Spring , with Hibernate4 and maven. Basically my class hierarchy is HUmanMicroTask extends from MicroTask . In future there may be several other
to fix this Remove @Id from Subclass
in MicroTask keep
@Id
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")
@Column(name = "MICROTASKID")
private String microTaskId;
in Subclass HumanMicroTask remove
@Id
@Column(name = "HMTID")
private String humanMicroTaskid;