[prev in list] [next in list] [prev in thread] [next in thread] 

List:       turbine-torque-dev
Subject:    [jira] Created: (TORQUE-72) Beans should not require
From:       "CG Monroe (JIRA)" <jira () apache ! org>
Date:       2006-12-06 4:54:21
Message-ID: 22654256.1165380861072.JavaMail.jira () brutus
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic