I try to persist my Department and Mandator classes to hsqhldb but it gives this error.
Department
Mandator
Exception Description: [class ch.printsoft.
Ensure you have both classes has the property of PK and the no parameter constructor. I add the following code in my entity class.
@Entity public class EntityClass{ @Id @GeneratedValue(strategy=GenerationType.AUTO) public int id; public EntityClass() { } ... }