Problems with DB2 JDBC Driver

Tiago Antão

Problems with DB2 JDBC Driver
Hi!

Does anyone has had some problem with DB2 JDBC Driver (V7.1)?
I think that it is returning metadata incorrectly, example:

if I do:
alter table freguesia add foreign key
(DISTRITO, CONCELHO) references CONCELHO(DISTRITO,CODIGO)

It returns a structure which could be mapped to this format:
alter table freguesia add foreign key
(DISTRITO, CONCELHO) references CONCELHO(CODIGO, DISTRITO)

Thank you for any help...
Tiago