logo       

[jira] Created: (TORQUE-72) Beans should not require torque.objectIsCaching: msg#00041

jakarta.turbine.torque.devel

Subject: [jira] Created: (TORQUE-72) Beans should not require torque.objectIsCaching = true setting to create all complexModel methods.

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise