db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitzethum, Daniel" <Daniel.Vitzet...@gigatronik.com>
Subject AW: AW: Joins and performance
Date Mon, 04 Jun 2007 07:02:01 GMT
Hallo Thomas,

> If you switch complexObjectModel to true in your generator
> properties, Torque will generate protected methods e.g.
> doSelectJoinBuildings() in the BaseSomethingPeer classes. You can
> make those visible by overriding them in your PeerSomething class.
> These methods will do the join for you and pre-populate the
> collections and referenced objects. No need to deal with Village
> records.      

these methods were the base for JoinHelper. As they are generated only
for some of the possibities of tables to be joined, we decided to extend
that a little bit. If you need only two tables joined, the generated
methods are fully sufficent!


Daniel

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


Mime
View raw message