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

List:       turbine-torque-dev
Subject:    [jira] [Commented] (TORQUE-317) BaseBean does generate fields for referencing objects
From:       "Rob Decker (JIRA)" <jira () apache ! org>
Date:       2014-08-25 19:42:59
Message-ID: JIRA.12717526.1401456861450.6925.1408995779334 () arcas
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/TORQUE-317?page=com.atlassian.jira.plugin. \
system.issuetabpanels:comment-tabpanel&focusedCommentId=14109620#comment-14109620 ] 

Rob Decker commented on TORQUE-317:
-----------------------------------

The space was definitely causing the issue. Good catch.

> BaseBean does generate fields for referencing objects
> -----------------------------------------------------
> 
> Key: TORQUE-317
> URL: https://issues.apache.org/jira/browse/TORQUE-317
> Project: Torque
> Issue Type: Bug
> Components: Templates
> Affects Versions: 4.0
> Environment: Centos 6.4, Java 8
> Reporter: Rob Decker
> Assignee: Thomas Fox
> Priority: Critical
> 
> In the baseBean.vm template the field definitions for referenced objects \
> mergepoints are present but the generated beans do not contain the fields. The \
> methods do properly reference the fields but the code does not compile because the \
> field declarations are missing.  ## field definitions for referenced objects
> #if ($torqueGen.booleanOption("torque.om.complexObjectModel"))
> $torqueGen.mergepoint("fieldDefinitionsReferencedObjects")
> ##
> ## field definitions for referencing objects
> $torqueGen.mergepoint("fieldDefinitionsReferencingObjects")
> #end
> I am not familiar enough with templates to figure why it isn't working.



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