db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gustavo Fernandez (JIRA)" <j...@apache.org>
Subject [jira] Created: (TORQUE-56) It seems torque generator incorrectly generates BaseXXXPeer
Date Fri, 22 Sep 2006 09:10:22 GMT
It seems torque generator incorrectly generates
 XXXMap.java if property torque.subpackageMap is specified.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

 It seems torque generator incorrectly generates BaseXXXPeer
It seems torque generator incorrectly generates XXXMap.java if property torque.subpackageMap
is specified. 
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: TORQUE-56
                 URL: http://issues.apache.org/jira/browse/TORQUE-56
             Project: Torque
          Issue Type: Bug
          Components: Generator
    Affects Versions: 3.2
            Reporter: Gustavo Fernandez
            Priority: Minor


1. set property torque.subpackageMap = model.map for example
2. execute maven ant or maven  to generate the source-code
3. examine generated XXXMapBuilder.java files. Look for lines

"${package}.map.${table.JavaName}MapBuilder";

(instead of velocity variables package and table you'll see substituted
values, of course)

Correct lines should looks like

"${packageMap}.${table.JavaName}MapBuilder";


Bug is in Torque templates module, in file
templates/src/templates/om/MapBuilder.vm

Best regards

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message