[ http://jira.codehaus.org/browse/XDP-122?page=comments#action_54115 ]
Joris Wijlens commented on XDP-122:
-----------------------------------
I agree with Rich, I never specify this attribute and go with the default of
Hibernate.
I also suggest to set the priority of this issue to critical (maybe even do an
extra release). Because I think everyone who uses Hibernate 3 will migrate
back to 1.0.2 or has to use a snapshot.
> HibernateMappingPlugin.accumulateProperties property.setAccess("method")
> -------------------------------------------------------------------------
>
> Key: XDP-122
> URL: http://jira.codehaus.org/browse/XDP-122
> Project: XDoclet 2 Plugins
> Type: Bug
> Components: hibernate
> Reporter: Jack Hung
> Attachments: plugin-hibernate-access.diff, plugin-hibernate-access.patch
>
>
> 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"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest