Torque
  1. Torque
  2. TORQUE-99

Missing connection parameter in method copy(...) and add<ForeignKey>(...)

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3-RC2
    • Fix Version/s: 3.3-RC3
    • Component/s: Generator
    • Labels:
      None

      Description

      Missing connection parameter in methods copy(...) and add<ForeignKey>(...). Using this methods within a transaction could lead to deadlocks. Patches attached.

      1. Object.vm
        70 kB
        Tobias Hilka
      2. ObjectWithManager.vm
        72 kB
        Tobias Hilka

        Activity

        Hide
        Thomas Fox added a comment -

        Applied patch, with the following changes

        • The additional methods only make sense with complexObjectModel set to true. Changed the patch accordingly.
        • reverted the changes in setting boolean values. The proposed changes are not java 1.3 compatible.
        • changed some javadoc
        Show
        Thomas Fox added a comment - Applied patch, with the following changes The additional methods only make sense with complexObjectModel set to true. Changed the patch accordingly. reverted the changes in setting boolean values. The proposed changes are not java 1.3 compatible. changed some javadoc

          People

          • Assignee:
            Thomas Fox
            Reporter:
            Tobias Hilka
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development