I've been trying to determine if a column is UNIQUE. I've been trying
to use the following
connection.getMetaData().getIndexInfo(null, "", "comment", false, true);
but it always says that the columns are not unique.
Am I on the right track with the above technique or should I be trying
to do something totally different?
pgsql-jdbc by date
|Next:||From: Kris Jurka||Date: 2008-01-20 15:15:19|
|Subject: Re: determine if a column is UNIQUE using metadata|
|Previous:||From: Mike C.||Date: 2008-01-18 22:58:18|
|Subject: Re: trying to connect to pg from within a local network|