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.

View | Details | Raw Unified | Return to bug 195251
Collapse All | Expand All

(-)nb.orig/dbschema/src/org/netbeans/modules/dbschema/jdbcimpl/TableElementImpl.java (+8 lines)
Lines 338-343 Link Here
338
                    String uniqueStr;
338
                    String uniqueStr;
339
                    while (rs.next()) {
339
                    while (rs.next()) {
340
                        if (bridge != null) {
340
                        if (bridge != null) {
341
                            // Ignore Indices marked statistic
342
                            // explizit: TYPE == DatabaseMetaData or
343
                            // implizit: ORDINAL_POSITION == 0
344
                            // @see java.sql.DatabaseMetaData#getIndexInfo
345
                            if (rs.getShort("TYPE") == DatabaseMetaData.tableIndexStatistic
346
                                    || rs.getInt("ORDINAL_POSITION") == 0) {
347
                                continue;
348
                            }
341
                            rset = bridge.getDriverSpecification().getRow();
349
                            rset = bridge.getDriverSpecification().getRow();
342
                            name = (String) rset.get(new Integer(6));
350
                            name = (String) rset.get(new Integer(6));
343
                            columnName = (String) rset.get(new Integer(9));
351
                            columnName = (String) rset.get(new Integer(9));

Return to bug 195251