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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3
    • 4.0-beta1
    • Generator
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment