I read the article on Hibernate webiste -
https://www.hibernate.org/328.html and practise to
test if my concept is correcet or not. However, I always obtained the following error message
The code includes
No matter whether I switch to use the way the article discuss or the one I try (in Child constructor), it all fails. I think I have problem with the concept, but no idea where I make mistakes. Is the constructor trying to obtain the type in super class (i.e. T in Father.java)?
I appreciate any help.
Thank in advice.