[
https://issues.apache.org/jira/browse/TORQUE-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209232#comment-13209232
]
Thomas Fox commented on TORQUE-180:
-----------------------------------
After discussion on the dev list, proceed as following
- create a common template for save methods which can be used from both the
peers as well as the dbObject classes
- make the alreadyInSave flag of a dbObject visible to the outside
> It should be possible to have the save() method in peers insteda of in the
> dbObject classes
> -------------------------------------------------------------------------------------------
>
> Key: TORQUE-180
> URL: https://issues.apache.org/jira/browse/TORQUE-180
> Project: Torque
> Issue Type: Improvement
> Components: Generator
> Reporter: Thomas Fox
> Assignee: Thomas Fox
>
> Currently, the save() method is the only method in the dbObject classes which
> access the database.
> It should be possible to generate dbObject classes which do not access the
> database at all and have all database related functionality in the peer
> classes instead.
> It needs to be discussed which mode should be the default mode.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]