> > How would one go about defining this in ColumnMaps?
> >
> > FOREIGN KEY (A,B) REFERENCES tbl (X,Y)
> >
> > I can see that it could be come
> >
> > tMap.addForeignKey ( 'A' , integer , "tbl" , "X" );
> > tMap.addForeignKey ( 'B' , integer , "tbl" , "Y" );
> >
> > My point is that you loose the fact that it is a combined foreign key.
If
> > this isn't important for Peers to know (I don't suppose so) then we can
just
> > create map builders like this. If the combination is important however
> > we'll need to think of something else....
> >
> > ~ Leon
>
> Nope...as far as I care, it just has to be done in the map builders with
> your above example...
THis is not really acceptable, because foreign keys should reference
primary/unique keys only. Having two single-column FKs is completely
different from one two-column. They ha ve nothing to do with each other.
fedor.
_______________________________________________________
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]