Details
Description
In accumulateProperties(...)
if("field".equals(((DocletTag)getTags(beanProperties[i].getAccessor(),requieredTags).get(0)).getNamedParameter("access"))) {
property.setAccess("field");
} else {
//jh property.setAccess("method");
property.setAccess("property"); // my modification
}
Hibernate 3 failed on the generated hbm.xml containing:
access="method"
It should really be:
access="property"
Issue Links
- is duplicated by
-
XDP-150
access="method" ???
-
Per the docs at http://www.hibernate.org/hib_docs/v3/reference/en/html/mapping.html#mapping-declaration-property,
I've changed "method" to "property", and attached the patch for the plugin code and the tests.