Torque
  1. Torque
  2. TORQUE-72

Beans should not require torque.objectIsCaching = true setting to create all complexModel methods.

    Details

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

      Description

      Record Objects generated with complexModel = true will include the get all associated FK records methods, e.g.

      List books = author.getBooks()

      regardless of the objectIsCaching setting.

      Beans however, will NOT generate the get associated FK records methods unless objectIsCaching is true.

      FWIW, the get related PK object methods are generated, e.g.

      Author a = book.getAuthor();

      regardless of objectIsCaching.

      The Bean template coding needs to be reviewed and fixed to generate code correctly.

        Activity

        Thomas Fox made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Thomas Fox made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 4.0 [ 12312102 ]
        Resolution Fixed [ 1 ]
        Thomas Fox made changes -
        Field Original Value New Value
        Assignee Thomas Fox [ tfischer ]
        CG Monroe created issue -

          People

          • Assignee:
            Thomas Fox
            Reporter:
            CG Monroe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development