On Wednesday, Feb 19, 2003, at 09:48 US/Eastern, <[EMAIL PROTECTED]> wrote:

Mainly my question was: if I implement a qualified M:N mapping (as explained in tutorial 3), how could I retrieve directly data. If I take your example:
How could I retrieve all Brokers for a certain Home (how can I implement a method "getBrokers in the HomeBO class)?
This is why I added private Collection brokerHomesColl, and mapped that in a Collection element in the BrokersToHomesBO. When the select happens, the brokerHomesColl gets automatically populated with BrokerBO objects. to get AT those objects you have to iterate through the BrokersToHomesBO object, which is a collection in this case, and retrieve the object within it.

Either I'm not making sense, or I'm not understanding your question.

R

--
Robert S. Sfeir
Senior Java Engineer
National Institutes of Health
Center for Information Technology
Department of Enterprise Custom Applications
[EMAIL PROTECTED]

Reply via email to