Apache JDO Project - Re: Typos in spec dtd

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > August 2005 > Re: Typos in spec dtd





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Typos in spec dtd
Abe White

2005-08-30, 8:45 pm

> Could you please suggest what the semantics of mapping a single field
> to multiple columns means? Are you thinking of a multi-column foreign
> key usage for references (relationships) or do you see it applying to
> primitive values as well?


Certainly multiple columns are needed for compound foreign keys. But
being able to define multi-column mappings is also important to vendors
who allow their users to create custom mappings. For example, one of
Kodo's custom mapping samples maps a java.awt.Point to two columns --
one for the X coordinate and one for the Y coordinate. I don't think
the DTD should make expressing mappings like that unnecessarily
difficult.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com