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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1d 5h 29m 1 Thomas Vandahl 14/Jul/06 05:00
        Resolved Resolved Closed Closed
        135d 14h 23m 1 Thomas Vandahl 26/Nov/06 18:23
        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 ]
        Hide
        Thomas Vandahl added a comment -

        Fixed in SVN

        Show
        Thomas Vandahl added a comment - Fixed in SVN
        Thoralf Rickert made changes -
        Field Original Value New Value
        Attachment patch.txt [ 12336744 ]
        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
        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