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

List:       turbine-torque-dev
Subject:    [jira] [Assigned] (TORQUE-316) saveMethods.vm has toSave.setNew instead of a using toSaveVariableWit
From:       "Thomas Fox (JIRA)" <jira () apache ! org>
Date:       2014-08-16 20:09:18
Message-ID: JIRA.12712926.1399491600393.15599.1408219758187 () arcas
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/TORQUE-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Thomas Fox reassigned TORQUE-316:
---------------------------------

    Assignee: Thomas Fox

> saveMethods.vm has toSave.setNew instead of a using toSaveVariableWithDot
> -------------------------------------------------------------------------
> 
> Key: TORQUE-316
> URL: https://issues.apache.org/jira/browse/TORQUE-316
> Project: Torque
> Issue Type: Bug
> Components: Templates
> Affects Versions: 4.0
> Reporter: Rob Decker
> Assignee: Thomas Fox
> Priority: Critical
> 
> When I generate classes with 
> torque.om.addSaveMethods=true
> torque.om.saveMethodsInDbObjects=true
> The dbobjects won't compile because the line toSave.setNew(false) is not a \
>                 variable. I updated the saveMethods.vm template to fix the issue \
>                 with this:
> diff torque-templates-4.0-new/org/apache/torque/templates/om/templates/general/saveMethods.vm \
> torque-templates-4.0-orig/org/apache/torque/templates/om/templates/general/saveMethods.vm
>  65c65
> <                     ${toSaveVariableWithDot}setNew(false);
> ---
> > toSave.setNew(false);



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
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