db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject Re: please enlighten me... attributes "abstract" and "alias" on tables
Date Thu, 30 Sep 2010 03:09:23 GMT

> ...
> > Or did I musunderstand what you were saying ?
> Probably. What happens in our case is that the call always goes to
> TablePeer.getOMClass(). If that does not exist,
> BaseTablePeer.getOMClass() gets called. If this didn't work, we could
> never use TablePeer.doSelect() because the method is in fact in
> BaseTablePeer. If you add a static method getOMClass() to TablePeer,
> this will get called. This is not exactly an "override" but works as
> such. Torque has many places where this behavior is employed.

Shame on me. How have I been committer to Torque for such a long time and
not grasp this?
Thanks for explaining.


To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org

View raw message