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 188846 - UnsupportedOperationException at sun.jdbc.odbc.JdbcOdbcDatabaseMetaData.getDatabaseMajorVersion
Summary: UnsupportedOperationException at sun.jdbc.odbc.JdbcOdbcDatabaseMetaData.getDa...
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-22 08:52 UTC by mohamedmahmed
Modified: 2010-11-19 06:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 163082


Attachments
stacktrace (1.59 KB, text/plain)
2010-07-22 08:52 UTC, mohamedmahmed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mohamedmahmed 2010-07-22 08:52:11 UTC
Build: NetBeans IDE 6.9 (Build 201006101454)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

User Comments:
GUEST: Accediendo a las tablas de una BD de Oracle con una conexion jdbc:odbc; tambien lo he probado directamente con el Controlador de oracle y me da el mismo error.

mohamedmahmed: When Attempting to view tables from an oracle schema ( the connection was made using JDBC-ODBC) I receive the forementioned error

GUEST: Apertura de tablas en una BD Oracle

GUEST: I was attempting to create Entity Beans from Database, my database is an oracle 8 database. I couldn't connect using oracle thin (oci8) I have tried all options (with service name, service id, TNS) i could connect using JDBC-ODBC bridge but i can't view the tables.

this database is in use, and a complete forms/reports 10g application is built on top of it.

GUEST: tried to connect database oracle 9i from netbeans ide using jdbcodbc dsn




Stacktrace: 
java.lang.UnsupportedOperationException
   at sun.jdbc.odbc.JdbcOdbcDatabaseMetaData.getDatabaseMajorVersion(JdbcOdbcDatabaseMetaData.java:4031)
   at org.netbeans.modules.db.metadata.model.jdbc.oracle.OracleSchema.getRecycleBinTables(OracleSchema.java:112)
   at org.netbeans.modules.db.metadata.model.jdbc.oracle.OracleSchema.createTables(OracleSchema.java:84)
   at org.netbeans.modules.db.metadata.model.jdbc.JDBCSchema.initTables(JDBCSchema.java:226)
   at org.netbeans.modules.db.metadata.model.jdbc.JDBCSchema.getTables(JDBCSchema.java:102)
   at org.netbeans.modules.db.metadata.model.api.Schema.getTables(Schema.java:104)
Comment 1 mohamedmahmed 2010-07-22 08:52:16 UTC
Created attachment 100968 [details]
stacktrace
Comment 2 Jiri Rechtacek 2010-11-18 14:21:16 UTC
core-main/rev/6e974858ea6f
Comment 3 Quality Engineering 2010-11-19 06:14:01 UTC
Integrated into 'main-golden', will be available in build *201011190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/6e974858ea6f
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #188846: UnsupportedOperationException at sun.jdbc.odbc.JdbcOdbcDatabaseMetaData.getDatabaseMajorVersion