This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
String uniqueStr;
while (rs.next()) {
if (bridge != null) {
// Ignore Indices marked statistic
// explizit: TYPE == DatabaseMetaData or
// implizit: ORDINAL_POSITION == 0
// @see java.sql.DatabaseMetaData#getIndexInfo
if (rs.getShort("TYPE") == DatabaseMetaData.tableIndexStatistic
|| rs.getInt("ORDINAL_POSITION") == 0) {
continue;
}
rset = bridge.getDriverSpecification().getRow();
name = (String) rset.get(new Integer(6));
columnName = (String) rset.get(new Integer(9));