db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CG Monroe (JIRA)" <j...@apache.org>
Subject [jira] Closed: (TORQUE-82) MapBuilder.vm problem
Date Wed, 07 Feb 2007 14:22:06 GMT

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

CG Monroe closed TORQUE-82.
---------------------------

    Resolution: Fixed
      Assignee: CG Monroe

Already fixed in SVN (but thanks for reporting it).  

FYI, take a look at the Custom Templates doc in the Generator Docs section.  This is a template
problem only, so you can grab the latest templates from SVN and use this process to "update"
your 3.3-RC1 to the fixed version.  

> MapBuilder.vm problem
> ---------------------
>
>                 Key: TORQUE-82
>                 URL: https://issues.apache.org/jira/browse/TORQUE-82
>             Project: Torque
>          Issue Type: Bug
>          Components: Generator
>    Affects Versions: 3.3-RC1
>            Reporter: Tamas Ruff
>         Assigned To: CG Monroe
>             Fix For: 3.3
>
>
> I have found a small bug in the MapBuilder.vm in the   doBuild() method:  
> public synchronized void doBuild() throws TorqueException
>     {
>         ...
>         //wrong code
>         tMap.setOMClass( ${package}.${table.JavaName}.class );
>         //new code
>         tMap.setOMClass( ${packageObject}.${table.JavaName}.class );
>         ...
> }
> So instead of ${package use ${packageObject, otherwise the generated code doesn't complile
when one configures explicit package names for the different generated classes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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