Uploaded image for project: 'Torque'
  1. Torque
  2. TORQUE-72

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: