After 5 years the bug is still here !!!
My id class:
Integer origID;
String informationAI;
and my normal class
@Transient
private static final long serialVersionUID = 1L;
//@EmbeddedId
//protected origID origID;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic(optional = false)
@Column(name = "origID")
private Integer origID;
@Id
//@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic(optional = false)
@Column(name = "informationAI")
private String informationAI;
and before you ask, yes I tried commenting out unnecessary lines/various lines.
The types ARE the same, yet the java says THEY ARE NOT
After 3 hours I am going crazy now.... Somone help please....
---------------
edit solved. I won't tell you how, because no one wanted to help me in first place.