Re: DAO with a one-to-many relationship



Hi,

You can use an evaluation copy of FireStorm/DAO to generate all of the
code for you. The eval copy is fine if you just have 2 tables.

You can download the product here:

http://www.codefutures.com/products/firestorm/

Cheers,

Andy.


andreldcastro wrote:
> I'm newby in JAVA. I need to write a DAO and all necessary classes to
> implement an one-to-many relationship. For example:
>
> Person
> -----------
> personId
> personName
>
> Phones
> -----------
> personId
> phoneNumber
> phoneDescription
>
> where: person 1---N phones. Thanks in advance for any help.

.



Relevant Pages

  • Re: Getting data from multiple rows into one column
    ... be you can use this query: ... group by PersonId ... Gert-Jan ... Prev by Date: ...
    (comp.databases.ms-sqlserver)
  • Sorting & Grouping report
    ... I don't know if this is possible but I have a report grouped on a PersonID # ... there any way to combine the grouping or redo my query to both group on ID ... Gil ... Prev by Date: ...
    (microsoft.public.access.reports)
  • Re: FM 7 and counting records of similar criteria
    ... record for each person, with their personal information alone, Then I ... have another table with the visit info in which the personal info is ... from the visit table to the visit table for the personid. ... Prev by Date: ...
    (comp.databases.filemaker)