Loading ...
Sorry, an error occurred while loading the content.

100154Re: [XP] [OT] Delegation and YAGNI! And XML xref

Expand Messages
  • Luiz Esmiralha
    Dec 1, 2004
    • 0 Attachment
      On Wed, 1 Dec 2004 16:21:27 -0500, Olson, Curtis B <olsoncb@...> wrote:
      >
      > > From: Jeff Grigg [mailto:jeffgrigg@...]
      > > Sent: Wednesday, December 01, 2004 4:13 PM
      >
      > > Consider:
      > > Suppose the Customer class was stored in the CUSTOMER table, and the
      > > Employee class in the EMPLOYEE table. Why is the source of this
      > > cross-reference data an XML file, rather than a general rule?
      > >
      > > Same for columns: Suppose the 'firstName' attribute is stored in
      > > the 'FIRST_NAME' column. If you had naming standards and rules,
      > > you'd hardly need a cross-reference file.
      >
      > OK, but....
      >
      > Legacy databases are not always so clean. Sometimes the attributes of a
      > single object may come from more than one source table (or even from
      > non-DBMS sources).
      >
      > Cheers,
      > Curtis
      >

      And I don't think that a 1 to 1 relationship between tables and
      classes is the best way to go.
    • Show all 24 messages in this topic