Checkout the Source Code in below link.
Source Code : https://github.com/aln1tech/Hibernate-PrimaryKey-As-ForigenKey-in-Same-Table
Checkout the Source Code in below link.
Source Code : https://github.com/aln1tech/Hibernate-PrimaryKey-As-ForigenKey-in-Same-Table