on 9/14/2000 11:35 PM, "Leon Messerschmidt" <[EMAIL PROTECTED]> wrote:

> 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...

-jon

-- 
http://scarab.tigris.org/    | http://noodle.tigris.org/
http://java.apache.org/      | http://java.apache.org/turbine/
http://www.working-dogs.com/ | http://jakarta.apache.org/velocity/
http://www.collab.net/       | http://www.sourcexchange.com/




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to