Hi All,
I am practicing with associations in Hibernate. While trying one-to-many and many-to-one association i am getting below error:
related
java pojo's are
and
Hibernate mapping fileas are:
I am using below code to insert the subcategories :
Please help. I have tried to search the related topic, but could not help.