db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tamas Ruff (JIRA)" <j...@apache.org>
Subject [jira] Updated: (TORQUE-82) MapBuilder.vm problem
Date Wed, 07 Feb 2007 10:11:05 GMT

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

Tamas Ruff updated TORQUE-82:
-----------------------------

    Description: 
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.

  was:I have found a small bug in the MapBuilder.vm


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