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 138726 - Takes too long to load the available DB tables when creating new "Entity class from Database", with no option to cancel
Summary: Takes too long to load the available DB tables when creating new "Entity clas...
Status: REOPENED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 8.1
Hardware: All All
: P1 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-01 16:09 UTC by evilgeenius
Modified: 2016-11-24 20:04 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description evilgeenius 2008-07-01 16:09:27 UTC
I've just attempted to create "New Entity Classes from Database".  I access my DB remotely, and It has just taken ~25
mins to load all the tables so I can pick one for the EJB Entity Class.  There was no way I could cancel it once it had
started to load them.

Thanks
Chris
Comment 1 David Vancouvering 2008-07-03 07:29:16 UTC
Someone else just had this problem with the MS SQL Server JDBC Driver and the JTDS driver.  He used the JDBC/ODBC bridge
and it worked like a charm.

What database driver are you using?

Also, are you really using NetBeans 5.0 or was that a typo?  Can you do Help->About and paste the contents of the About
screen to this issue?

Thanks.
Comment 2 evilgeenius 2008-07-03 09:23:29 UTC
Product Version: NetBeans IDE 6.1 (Build 200805300101)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Linux version 2.6.22.17-0.1-default running on i386; UTF-8; en_GB (nb)
Userdir: /home/chrisr/.netbeans/6.1

I am using the Oracle JDBC driver.  

I didn't choose any version of NetBeans, I didn't realise I could.  I guess 5.0 must be the default.
Comment 3 David Vancouvering 2008-07-29 18:38:00 UTC
Can you try with NB 6.1 and see if it's any better?
Comment 4 Andrei Badea 2008-08-06 10:42:18 UTC
The cause of the slow table retrieval is that too many informations are retrieved by the Entity Classes from DB wizard.


*** This issue has been marked as a duplicate of 97739 ***
Comment 5 kvs 2016-11-24 20:04:06 UTC
Its been 10 years.