I\'m starting with Hibernate and I have an error that I just can\'t figure out.
I have the following Classes:
@Entity @Inheritance(strategy = Inherit
If you want String to be database key you need to use UUID to automatically generate key. Something like this:
@Id @GeneratedValue(generator="system-uuid") @GenericGenerator(name="system-uuid", strategy = "uuid") private String myId;