posted 17 years ago
Hey all ranchers:
I am new to hibernate, and try to do my first OR mapping, I define the hbm.xml like this
But it does not work, the error message is Can not find the set method propery for property id.(I swear I really have one like void setId(Long id))
If I complete the access attribute of id element, like this
Everything works perfectly.(I did not change the source code)
So is the DirectPropertyAccessor mandatory for the id element? but from the example of some website, seems people did not use it. If it is not, what possibly is my probelm?
SCJP 1.4<br />SCWCD 1.3<br />SCJD<br />SCBCD<br />IBM Xml Cert in progress