A bit more information would convince some other to give you a hand.... :)
Post your mapping, the code, stacktrace, version of hibernate etc.
read this:
http://www.hibernate.org/ForumMailinglists/HowToAskForHelp
I guess AboutEutree has no property mapped to "parentId".........
simon
bm2004mvc wrote:
Hello! I'm a beginner in Hibernate and I get the following error:
org.hibernate.QueryException: could not resolve property: parentId of: eurolegis.AboutEutree [from eurolegis.AboutEutree o where o.parentId = 0]
What can be the problem?