You _might_ be able to extend the generated Peer into Table1Peer and
Table2Peer then do something in:
public static MapBuilder getMapBuilder()
Then when using instead of doing GeneratedPeer.doXxx, use either
Table1Peer.doXxx, Table2Peer.doXxx.
- Stephen
> -----Original Message-----
> From: Jeff Owens [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 02, 2002 12:18 PM
> To: Turbine Torque Users List
> Subject: Save an object to a different table name
>
> I have created some objects using the TDK that go through 2 different
> states. Instead of having a "STATE" field, I have defined 2 identical
> tables in the same database - in the long run its about a jillion
times
> easier for me to do it this way - just take my word for it.
>
> I would like to know if there's an easy way to save the same object to
2
> different table names (again, the tables are identical). In looking
in the
> base object peer, there is a TABLE_NAME string - but it's final. I've
also
> looked at the map builder object, but that makes me think this is even
more
> hopeless. I've searched through my message archive, and the torque
> documentation - I'm not even sure what to look for, truth be told.
>
> If someone knows how to go about this, I would very much appreciate
it.
> Thanks!
> -jeff
>
>
>
>
> --
> To unsubscribe, e-mail: <mailto:turbine-torque-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-torque-user-
> [EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>