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.
This bug was originally marked as duplicate of bug 155003, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.1.1 (Build 201203012225) VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05 OS: Windows Vista User Comments: GUEST: create entity from database smvda: problem on create entityes from DB. GUEST: I select New Entity classes from database from right click over a package on a test app-ejb, add a new datasource that point to Oracle 10g DB and show this dialog. smvda: Erro on Impor Entityes on netbeans JPA support. rukus: Wizard: New entity classes from database after adding datasource for oracle 10g Stacktrace: java.sql.SQLException: Unsupported feature 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:689) at oracle.jdbc.OracleDatabaseMetaData.getDatabaseMajorVersion(OracleDatabaseMetaData.java:4442) at org.netbeans.modules.dbschema.jdbcimpl.SchemaElementImpl.getOracleRecycleBinTables(SchemaElementImpl.java:730)
Created attachment 123440 [details] stacktrace
(In reply to comment #0) > org.netbeans.modules.dbschema.jdbcimpl.SchemaElementImpl.getOracleRecycleBinTables(SchemaElementImpl.java:730) This should be the version at 7.1 time: http://hg.netbeans.org/core-main/file/6bc666ca01cd/dbschema/src/org/netbeans/modules/dbschema/jdbcimpl/SchemaElementImpl.java And this is the version in 7.2: http://hg.netbeans.org/core-main/file/e2a8a9927b2a/dbschema/src/org/netbeans/modules/dbschema/jdbcimpl/SchemaElementImpl.java Both show that the relevant stacktrace element is already protected by a try-catch on SQLException. The call to getOracleRecycleBinTables was moved in this changeset: http://hg.netbeans.org/core-main/diff/ef174c8edf5a/dbschema/src/org/netbeans/modules/dbschema/jdbcimpl/SchemaElementImpl.java which established the try-catch protection. Please try again with a clean netbeans 7.2 installation. If you can reproduce the bug please reopen this bug.