On Wednesday 17 July 2002 00:54, you wrote: > Hi All. > > I would like using Ant 1.5 to create an XML schema from my db. > I use PostgreSQL 7.1.3 as RDBMS, JDBC-driver 7.2, J2SDK 1.4.0 . > When I use the "ant project-jdbc" command, it generates the XML file which > represents my DB but the Foreign Keys are not correct. > > Has someone the solution for this problem? > > Thanks in advance. > > Nic. > > --------------------------------------------- > Universita' degli studi di Trento, > Diploma in Ingegneria Informatica. > http://www.inf.unitn.it/
There is a problem with the way Foreign Keys are retrieved under Postgres, it indexes them wrongly and most code that retrieves them gets confused. I think the problem is probably in the JDBC driver. There is a bug report on this but I do not know if/when it will be fixed. David -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>