--- Derek Shen <[EMAIL PROTECTED]> wrote:
> Thanks. > Figured out the problem. It has nothing to do with > inheritance. > But I do think it is kind of a bug and need to be > fixed. I have two > "getter" method, one is getDeleted which returns > Boolean, another is > isDeleted which returns boolean. The first method > has hibernate tag and the > second does not. For whatever reason XDoclet sticks > with the second getter > and did not generate the mapping for this field. > I moved the second getter in front of the first one > and it works. > Think it should be a bug. That's discutable whether ithis is a bug... As you may imagine, XDoclet plugin first compiles list of properties, and if there is 2 getters for the same property - one of them wins... In your case alternative could be to specify mapping on field, maybe with access="method". regards, ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- Still using XDoclet 1.x? XDoclet 2 is released and of production quality. check it out: http://xdoclet.codehaus.org __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
