Torque
  1. Torque
  2. TORQUE-43

retrieveByPK uses name instead of javaName

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.3
    • Component/s: Generator
    • Labels:
      None

      Description

      If you have a column definition like:

      <column name="class" javaName="aClass" primaryKey="true" required="true" size="30" type="VARCHAR"/>

      the generator creates retrieveByPK method with a parameter called "class" instead of "aClass". This is unexpected.

      1. patch.txt
        2 kB
        Thoralf Rickert

        Activity

        Hide
        Thomas Vandahl added a comment -

        Fixed in SVN

        Show
        Thomas Vandahl added a comment - Fixed in SVN
        Hide
        Thoralf Rickert added a comment -

        This is a patch for this bug in Peer.vm

        Show
        Thoralf Rickert added a comment - This is a patch for this bug in Peer.vm

          People

          • Assignee:
            Thomas Vandahl
            Reporter:
            Thoralf Rickert
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development