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 71228 - DBSchema calls in the EDT
Summary: DBSchema calls in the EDT
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2006-01-10 12:29 UTC by Andrei Badea
Modified: 2006-04-03 13:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (5.56 KB, text/plain)
2006-01-10 12:30 UTC, Andrei Badea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Badea 2006-01-10 12:29:27 UTC
While creating CMPs from database a SchemaElement is initialized by calling
SchemaElement.initTables(). This call happens in the EDT, as proven by the
attached stack trace. It blocks the UI until the schema is retrieved, which
could be a long-time operation.
Comment 1 Andrei Badea 2006-01-10 12:30:18 UTC
Created attachment 28333 [details]
Stack trace
Comment 2 Andrei Badea 2006-04-03 13:00:23 UTC
This was fixed in the new CMP Entity Beans from Database wizard.