[jira] Closed: (XDP-206) Wrong access method "method" is used

"Konstantin Pribluda (JIRA)" <jira-yCVjj/[email protected]>
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <55334152.1163671832539.JavaMail.haus-jira@codehaus01.managed.contegix.com>
     [ http://jira.codehaus.org/browse/XDP-206?page=all ]

Konstantin Pribluda closed XDP-206.
-----------------------------------

         Assignee: Konstantin Pribluda
       Resolution: Duplicate
    Fix Version/s: 1.0.4

This has been fixed long ago in 1.0.4-SNAPSHOT

Now there is no setting on access unless explicitely specified by user
for getter based properties, and implicit setting to "field" for
field based properties unless overriden.

Thanks for patch though.

> Wrong access method "method" is used
> ------------------------------------
>
>                 Key: XDP-206
>                 URL: http://jira.codehaus.org/browse/XDP-206
>             Project: XDoclet 2 Plugins
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 1.0.3
>            Reporter: Nikita Salnikov-Tarnovski
>         Assigned To: Konstantin Pribluda
>             Fix For: 1.0.4
>
>         Attachments: HibernateMappingPlugin.java.patch
>
>
> When xdoclet tag hibernate.property is put at getter method, not field, then plugins generate mapping with attribute 
> access="method"
> But as of Hibernate3 there is no such access type, there is "property" one. So HibernateMappingPlugin.java should be changed to use "property" access type, not "method" one.
> The corresponding patch is attached.

-- 
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

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.