[
https://issues.apache.org/jira/browse/TORQUE-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Fox closed TORQUE-121.
-----------------------------
> Peer generation, using Peer.vm does not call super class' methods but always
> calls BasePeer.method(...)
> -------------------------------------------------------------------------------------------------------
>
> Key: TORQUE-121
> URL: https://issues.apache.org/jira/browse/TORQUE-121
> Project: Torque
> Issue Type: Bug
> Affects Versions: 3.1.1
> Environment: Java
> Reporter: Tal Kramer
> Assignee: Thomas Vandahl
> Fix For: 4.0-beta1
>
> Attachments: Peer.vm
>
>
> When generating the om, the *Peer generated classes call BasePeer methods
> when calling to the original method, This ignores the base class.
> On generation, it is possible to define a basePeer object, but it is
> irrelevant at the current state since it is not used within the static
> generated class.
> To fix it, I have replaced in torque-gen.XX.jar in the file om/Peer.vm all
> calls to BasePeer.method(...) by ${table.BasePeer}.method(...). Is there a
> better solution? Or anything wrong with this suggestion?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]