Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] RDB components and indexes

Hello,
  I find bug and fix for problem with indexes in database explorer
Oracle (8 and 9) retrun first row with inde_name = null and webtools
skip other indexes .
Probelm is in method :

org.eclipse.wst.rdb.internal.core.rte.jdbc.JDBCTTable#loadIndexes(Connection connection, EList indexList, Table table)

line 246

except

ResultSet r = metaData.getIndexInfo(null,null,table.getName(),false,false);

this

ResultSet r = metaData.getIndexInfo(null,schema.getName(),table.getName(),false,false);


line 251

except 

if (indName == null) break;

this

if (indName == null) continue;

regards
Haris Peco


Back to the top