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 98529 - list of tables in entity from db is not updating
Summary: list of tables in entity from db is not updating
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords: REGRESSION
: 102725 104916 109528 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-21 18:23 UTC by Jan Horvath
Modified: 2007-07-18 09:50 UTC (History)
0 users

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 Jan Horvath 2007-03-21 18:23:00 UTC
build 200703201900

-create web application (java ee5)
-start entity from db wizard
-select datasource
-list of tables is fetched
-create new datasource
-select another datasource
-ERROR: available tables list is empty, even if connection is ok and database
contains a lot of tables
Comment 1 Erno Mononen 2007-03-22 14:17:35 UTC
Seems to be a side effect of introducing JPADataSource when j2ee/persistence 
was moved to the IDE cluster.
Comment 2 Erno Mononen 2007-04-27 10:52:27 UTC
*** Issue 102725 has been marked as a duplicate of this issue. ***
Comment 3 Andrei Badea 2007-06-20 10:19:28 UTC
*** Issue 104916 has been marked as a duplicate of this issue. ***
Comment 4 Erno Mononen 2007-07-16 15:42:19 UTC
*** Issue 109528 has been marked as a duplicate of this issue. ***
Comment 5 Erno Mononen 2007-07-18 09:50:43 UTC
Fixed in trunk. The commit log got lost, I will paste it here if the commit shows up in the mailing list. In any case, 
the affected classes were:

j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/spi/datasource/JPADataSourceProvider.java
j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/unit/PersistenceUnitPanel.java
j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/DatabaseTablesPanel.form
j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/DatabaseTablesPanel.java
j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/EjbJarJPASupport.java
web/project/src/org/netbeans/modules/web/project/WebJPADataSourceSupport.java