You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Frederic Gedin <fr...@Jaluna.COM> on 2003/02/18 12:04:45 UTC
Wrong invocation of populateObject in peer class
Hi
I suspect a bug in the code generated by Torque. All invocations of the
row2Object function in the "BaseRecordPeer" class are invoked through
the "RecordPeer" class. Unfortunately, the row2Object function invokes
directly the populateObject function.
As a a consequence, if I create a RecordPeer class which overloads the
populateObject function, this overloaded populateObject function will
never be called unless I copy the row2Object function into the
RecordPeer class. I think this is not compatible with the declaration
of populateObject to be public.
If this is a real bug, how do I record it officially? If this is a
mistake where am I wrong?
Regards
Frederic
Re: Wrong invocation of populateObject in peer class
Posted by Eric Emminger <er...@ericemminger.com>.
Frederic
> If this is a real bug, how do I record it officially? If this is a
> mistake where am I wrong?
http://scarab.werken.com/scarab/issues/
--
Eric Emminger
eric@ericemminger.com