Return-Path: X-Original-To: apmail-db-torque-dev-archive@www.apache.org Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A58F9E27 for ; Thu, 5 Apr 2012 11:59:47 +0000 (UTC) Received: (qmail 46843 invoked by uid 500); 5 Apr 2012 11:59:47 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 46822 invoked by uid 500); 5 Apr 2012 11:59:47 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 46814 invoked by uid 99); 5 Apr 2012 11:59:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 11:59:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 11:59:46 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1109D35A1B4 for ; Thu, 5 Apr 2012 11:59:25 +0000 (UTC) Date: Thu, 5 Apr 2012 11:59:25 +0000 (UTC) From: "Thomas Fox (Resolved) (JIRA)" To: torque-dev@db.apache.org Message-ID: <571775032.16668.1333627166128.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (TORQUE-116) property for object state MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TORQUE-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Fox resolved TORQUE-116. ------------------------------- Resolution: Fixed Fix Version/s: 4.0 > property for object state > ------------------------- > > Key: TORQUE-116 > URL: https://issues.apache.org/jira/browse/TORQUE-116 > Project: Torque > Issue Type: Improvement > Components: Generator, Runtime > Environment: n/a > Reporter: Thoralf Rickert > Assignee: Thomas Fox > Priority: Minor > Fix For: 4.0 > > > Sometimes it would be very helpful to know the state of an Object. Currently we have the states "new" and "modified". Additionally I think there could be at least one state more. During initializing of the object (populateObject) the Base class calls some setters in the object. It would be nice to now that this set-methods are called during the initializing phase of the object to change the behavior of the method. > The populateObject method could set an internal method "isPopulating" at the beginning of the process to true. And at the end it should set this variable to false. Then someone could check that variable state. > Another situation would be "save" in an threaded and not-thread-safe-environment. > This work for this is minimal. We need only a change in the templates. -- 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: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org