[ http://jira.codehaus.org/browse/XDP-122?page=comments#action_54117 ]
Konstantin Pribluda commented on XDP-122:
-----------------------------------------
What about following behaviour:
1. If tag is on field, set it to field unless access is explicitely overriden
2. If tag is on method, omit this unless explicit setting is provided.
> 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