[
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]