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.
When using Netbeans 5.0 or 5.5 connected to an Oracle 9i database the error message "Unable to read the database structure, connection broken; ORA-01031: insufficient Privilege" is displayed if I try to expand any table shown in the runtime window tree. I am using the Oracle driver ojdbc14.jar. I can access the data using view data or an sql query. Only expanding the table node to view the columns causes the problem. The problem does not occur using the Sun Studio Enterprise 8 IDE or the JDeveloper from Oracle. Do you have a fix or a work around?
Reassigning to "db" for evaluation.
Try if using a 10.x driver helps.
I tried all the v9 and v10 drivers available from Oracle with no success. Further analysis revealed that granting the "analyze all" rights to my id solves the column display issue. What is Netbeans doing that requires this right?
It is retrieving the indexes by calling DatabaseMetaData.getIndexInfo() and the Oracle driver for some reason seems to call ANALYZE TABLE in order to gather index statistics. You can find more information in issue 59535. *** This issue has been marked as a duplicate of 59535 ***
*** Issue 106723 has been marked as a duplicate of this issue. ***