nested exception is org.hibernate.MappingException: Could not determine type for: Com.test.model.Client, at table: ComptePaiement
Solution 1:
Answer from comments:
You are probably missing @JoinColumn
on Client
or ComptePaiement
and mappedBy
in @OneToOne
annotation, depending which will hold reference id in database.