db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CG Monroe (JIRA)" <j...@apache.org>
Subject [jira] Created: (TORQUE-72) Beans should not require torque.objectIsCaching = true setting to create all complexModel methods.
Date Wed, 06 Dec 2006 04:54:21 GMT
Beans should not require torque.objectIsCaching = true setting to create all complexModel methods.
--------------------------------------------------------------------------------------------------

                 Key: TORQUE-72
                 URL: http://issues.apache.org/jira/browse/TORQUE-72
             Project: Torque
          Issue Type: Bug
          Components: Generator
    Affects Versions: 3.3
            Reporter: CG Monroe
            Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message