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

        Thomas Vandahl made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Thomas Vandahl made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Assignee Thomas Vandahl [ tv ]
        Fix Version/s 3.2.1 [ 12310991 ]
        Thoralf Rickert made changes -
        Field Original Value New Value
        Attachment patch.txt [ 12336744 ]
        Thoralf Rickert created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development