On Wed, 1 Dec 2004 16:21:27 -0500, Olson, Curtis B <[EMAIL PROTECTED]> wrote:
>
> > From: Jeff Grigg [mailto:[EMAIL PROTECTED]
> > 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.
To Post a message, send it to: [EMAIL PROTECTED]
To Unsubscribe, send a blank message to: [EMAIL PROTECTED]
ad-free courtesy of objectmentor.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/extremeprogramming/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/