Hello,
I have just started using XDoclet2, and I have ran into trouble: all the generated properties in hbm.xml files contain access="method".
Example:
Code:
<property name="name" not-null="true" length="20" access="method" unique="true"/>
The problem is that when executing my program, I get the following exception:
Code:
nested exception is org.hibernate.MappingException: could not find PropertyAccessor class: method
org.hibernate.MappingException: could not find PropertyAccessor class: method
Looking in Hibernate Doc, I saw that the "access" element has to be field, property or ClassName. So why does XDoclet2 generates access="method"?
Thank you,
Cristian.