[ http://jira.codehaus.org/browse/XDP-122?page=comments#action_54337 ] 

Davide Baroncelli commented on XDP-122:
---------------------------------------

The behaviour Konstantin is envisioning seems reasonable to me, but I think 
what is most important is at least providing a release which is not broken with 
respect to Hibernate: it seems to me that it is pointless to leave a release 
out which fails in correctly supporting such an important feature. I remark 
that it is broken not only for Hibernate 3, but also for Hibernate 2 (and I'm 
not sure a snapshot would correct the problem, as no patch seems to have been 
applied to CVS).

> 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
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to