XDoclet 2 Plugins
  1. XDoclet 2 Plugins
  2. XDP-122

HibernateMappingPlugin.accumulateProperties property.setAccess("method")

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.4
    • Component/s: hibernate
    • Labels:
      None
    • Number of attachments :
      2

      Description

      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"

      1. plugin-hibernate-access.diff
        28 kB
        Rich Rodriguez
      2. plugin-hibernate-access.patch
        29 kB
        Rich Rodriguez

        Issue Links

          Activity

          Hide
          Marvin Froeder added a comment -

          Thanks! I have found after your tip.

          If any more needs....
          http://dist.codehaus.org/xdoclet-plugins/jars/xdoclet-plugin-hibernate-1.0.4-SNAPSHOT.jar

          VELO

          Show
          Marvin Froeder added a comment - Thanks! I have found after your tip. If any more needs.... http://dist.codehaus.org/xdoclet-plugins/jars/xdoclet-plugin-hibernate-1.0.4-SNAPSHOT.jar VELO
          Hide
          antony added a comment -

          it suppose to be this is link is dead here http://dist.codehaus.org/xdoclet-plugins/jars/xdoclet-plugin-hibernate-1.0.4-SNAPSHOT.jar is dead. where i can find this snapshot please help it is very urgent.

          thanks in advance

          Alvin

          Show
          antony added a comment - it suppose to be this is link is dead here http://dist.codehaus.org/xdoclet-plugins/jars/xdoclet-plugin-hibernate-1.0.4-SNAPSHOT.jar is dead. where i can find this snapshot please help it is very urgent. thanks in advance Alvin
          Hide
          Konstantin Pribluda added a comment -

          Currently there is a problem on codehaus ( beaver & dist are in coma )

          Snapshot you need may be available on ibiblio repository:
          http://www.ibiblio.org/maven/xdoclet-plugins/jars/
          ( dated )

          Or you may try to build it from source of sourceforge
          http://www.sourceforge.net/projects/xdoclet-plugins

          If this does not help, I may send it to you
          ( do not have your email, and do not like to send it via list )

          Show
          Konstantin Pribluda added a comment - Currently there is a problem on codehaus ( beaver & dist are in coma ) Snapshot you need may be available on ibiblio repository: http://www.ibiblio.org/maven/xdoclet-plugins/jars/ ( dated ) Or you may try to build it from source of sourceforge http://www.sourceforge.net/projects/xdoclet-plugins If this does not help, I may send it to you ( do not have your email, and do not like to send it via list )
          Hide
          Andy Quinn added a comment -

          Konstantin,

          I am also looking for this snapshot. Can you help me?

          Thanks,

          Andy

          Show
          Andy Quinn added a comment - Konstantin, I am also looking for this snapshot. Can you help me? Thanks, Andy
          Hide
          Konstantin Pribluda added a comment -

          Scream about it on plugins interest mailing list
          ( I do not have your email )

          Show
          Konstantin Pribluda added a comment - Scream about it on plugins interest mailing list ( I do not have your email )

            People

            • Assignee:
              Konstantin Pribluda
              Reporter:
              Jack Hung
            • Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: