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.

Bug 90951

Summary: Error when browsing Oracle tables
Product: db Reporter: cezariusz <cezariusz>
Component: CodeAssignee: Andrei Badea <abadea>
Status: CLOSED DUPLICATE    
Severity: blocker CC: cezariusz
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description cezariusz 2006-12-12 12:50:23 UTC
NetBeans IDE Dev (Build 200611291315)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b89
Windows XP version 5.1 running on x86
pl_PL (nb); Cp1250

Oracle Database version 10.2.0.1

When trying to browse tables using Databases branch on the Runtime tab, I get 
the following error:

INFO: Funkcja nieobsługiwana
org.netbeans.api.db.explorer.DatabaseException: Funkcja nieobsługiwana
	at 
org.netbeans.modules.db.explorer.infos.TableListNodeInfo.initChildren
(TableListNodeInfo.java:75)
	at org.netbeans.modules.db.explorer.infos.DatabaseNodeInfo.getChildren
(DatabaseNodeInfo.java:675)
[catch] at org.netbeans.modules.db.explorer.DatabaseNodeChildren$2.run
(DatabaseNodeChildren.java:94)
	at org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:541)
	at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:963)
Caused by: java.sql.SQLException: Funkcja nieobsługiwana
	at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
	at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
	at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
	at oracle.jdbc.dbaccess.DBError.throwUnsupportedFeatureSqlException
(DBError.java:690)
	at oracle.jdbc.OracleDatabaseMetaData.getDatabaseMajorVersion
(OracleDatabaseMetaData.java:4451)
	at org.netbeans.lib.ddl.adaptors.DefaultAdaptor.getDatabaseMajorVersion
(DefaultAdaptor.java:3967)
	at 
org.netbeans.modules.db.explorer.infos.TableListNodeInfo.initChildren
(TableListNodeInfo.java:49)
	... 4 more

Note: "Funkcja nieobsługiwana" means "Function not supported".

Views and procedures works without problems.
Oracle JDBC Driver version - 9.0.2.0.0
Comment 1 Andrei Badea 2006-12-12 13:18:03 UTC
Please use a 10.x version of the Oracle JDBC driver.

*** This issue has been marked as a duplicate of 84654 ***