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 48673 - Select list isn't synchronized
Summary: Select list isn't synchronized
Status: CLOSED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: DB schema (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
: 52160 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-08 14:03 UTC by Petr Blaha
Modified: 2006-03-24 12:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
suggested fix (341 bytes, patch)
2005-01-17 12:31 UTC, Petr Blaha
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2004-09-08 14:03:37 UTC
Build 040908
Steps to reproduce:
1) Add new database schema
2) On Database Connection Panel click on Add
Connection button. Add new connection.
3) Into select list is added new item, but is not
synchronized, i.e. select first connection from
list, then on next panel tables from other
database are loaded
Comment 1 _ ludo 2004-09-16 01:29:38 UTC
I do not understand the scenario. Can you clarify?
What do you type after add connexion button?
Comment 2 Petr Blaha 2004-09-16 09:38:13 UTC
Build 040915
All steps to reproduce issue:
Add new JDBC driver:
1) go to runtime tab Database - Drivers - pop-up menu select Add driver
2) in Add JDBC Driver panel click Add button, select your JDBC driver
file, click OK, list of your drivers should refresh
Create new EJB project:
3) click File - New Project, finish wizard
Add database schema:
4) in project tab click on your module node, invoke New | File/File Folder
5) select category Database - Database schema, click Next
6) type schema's file name and folder, click Next button
7) in Database connection panel is selection list with these items:
pointbase://localhost:9092/sample and
pointbase://localhost:9092/sun-appserver-samples
8) click Add Connection button on new databse Connection panel select
your driver, fill database URL, user name, password. Click OK and OK.
9) you are back on Database Connection Panel, in connection's list is
selected your new connection
10) click Next button
11) Error box is invoked: Unable to connect to the database because:
cannot establish a connection to
jdbc:pointabase://localhost:9092/sample using com.pointbase.jdbc .....
This is wrong because I would like to use my new connection.

Workaround:
select last item in connection list, i.e.
jdbc:pointabase://localhost:9092/sun-appserv-samples. This is working
and table structure is loaded.
Comment 3 Petr Blaha 2004-10-29 09:32:36 UTC
move from temporary component
Comment 4 Petr Blaha 2005-01-17 10:52:35 UTC
*** Issue 52160 has been marked as a duplicate of this issue. ***
Comment 5 Petr Blaha 2005-01-17 12:31:24 UTC
Created attachment 19724 [details]
suggested fix
Comment 6 _ ludo 2005-01-17 20:45:13 UTC
patch applied.
Thanks
Comment 7 Petr Blaha 2005-01-20 10:07:45 UTC
Build 20050119