I just downloaded Torque and started generating Java code to represent my
database. The database has a very hierarchical structure with relationships
between tables defined by foreign keys. I was hoping that when I generated
the code, Torque would pick up these relationships and model the aggregation
expressed by the FKs. However, looking at the code, I am not seeing this.

Example:
A Team has a name
A Team has a 1 to many relationship with Players
I would expect that BaseTeam.java would have a (get|set)Name method and a
(get|set)Players that returns a List. I only see the Name field being
handled, not the Players field.

In build.propertes, torque.complexObjectModel=true

If this is something Torque can do, can someone point me in the right
direction?
If not, does anyone have suggestions for how they've handled this situation?

thx
andy kriger





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to