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 191816 - Entity classes cannot be created from OracleDB
Summary: Entity classes cannot be created from OracleDB
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on: 188463
Blocks:
  Show dependency tree
 
Reported: 2010-11-10 21:59 UTC by Jeffrey Rubinoff
Modified: 2010-11-26 06:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Rubinoff 2010-11-10 21:59:42 UTC
I tried to create entity classes from an Oracle DB, using the Entity Classes from Database wizard in an EE5 Java web project. I didn't get any exceptions or other notifications from the Output window, but I didn't get any entity classes either. Just an empty package.
I suspect the problem may be because Oracle organizes data differently than Derby or MySQL. There are no "databases." Tables are the top level of organization.
Was using OracleDB XE (10.2) and the Nov 9 dev build.
Possibly related to http://netbeans.org/bugzilla/show_bug.cgi?id=188463.
Comment 1 Sergey Petrov 2010-11-10 22:32:56 UTC
Current entity from db functionality is strictly dependent on db schema functionality, it's almost db independent internally. So likely if 188463 will be fixed this issue will not require any fix.
Comment 2 Sergey Petrov 2010-11-10 22:33:40 UTC
>TBD
need to try anyway.
Comment 3 Jeffrey Rubinoff 2010-11-10 22:59:29 UTC
Please also note that I registered the OracleDB in NetBeans, using the ojdbc6 driver.
Comment 4 Petr Jiricka 2010-11-11 15:01:28 UTC
I tried but could not reproduce - works fine for me. I guess we will need to wait for jrechtacek's evaluation/resolution of bug 188463 to see if it helps.
Comment 5 Jeffrey Rubinoff 2010-11-16 11:20:32 UTC
Petr, what was the setup that worked for you?
I used the OracleXE 10.2 database, local installation. Did you use the remote 11g database?
Comment 6 Petr Jiricka 2010-11-16 13:12:45 UTC
Yes, I used a remote installation.
Comment 7 Jiri Rechtacek 2010-11-24 15:25:34 UTC
Thanks Jeff, I can reproduce it too. There is a problem in New Connection Wizard. I'll fix it ASAP.
Comment 8 Jiri Rechtacek 2010-11-25 16:03:06 UTC
core-main/rev/dee8a17d0e3c
Comment 9 Quality Engineering 2010-11-26 06:14:08 UTC
Integrated into 'main-golden', will be available in build *201011260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/dee8a17d0e3c
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #191816: Entity classes cannot be created from OracleDB