Discussion:
[Middlegen-user] EJB/VO plugin with table and fields the same name
Darren Hartford
2004-09-29 18:27:02 UTC
Permalink
Has anyone run into the issue where they have multiple tables related to each other, and within related tables they also have field names that are the same as one of the related tables?

Curious if someone has already found a way to solve this problem (other than renaming everything).

=====
Example:
Stuff Table
stuff1(pk)
stuff2(pk)
mythings

Thing Table (one Thing table has a many-relationship to Stuff)
thing(pk)
stuff [the field, generate get/set for Stuff]
[then, generates a get/set Stuff for the 'Stuff' VO]

=====

Loading...