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 83306 - Create Embedded Database
Summary: Create Embedded Database
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: David Vancouvering
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-23 17:44 UTC by hmaniac
Modified: 2008-07-15 12:54 UTC (History)
1 user (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 hmaniac 2006-08-23 17:44:13 UTC
Java DB, which comes with Java SE6 has support for an Embedded driver. How 
come one is not able to create databases using this embedded driver in 
Netbeans?
Comment 1 _ gtzabari 2008-07-14 20:29:50 UTC
dev build 200806111204

1) In the Services tab, right-click on JavaDB and click on "Create new database"
2) Netbeans (incorrectly) assumes that the user wants a network driver, so it starts up Derby in client-server mode.
3) The user clicks on OK to create the database. All the files are created correctly but then an error dialog pops up:
"An error occurred while creating the database: The Java DB (Network) driver was not found."

This is actually not a fatal error because if you then "Create a new database connection" using your embedded driver it
will work fine. The only thing Netbeans is missing is for the "Create new database" dialog to ask the user which driver
he'd like to use (network or embedded).
Comment 2 _ gtzabari 2008-07-14 20:41:28 UTC
I just took a look at 6.5 M1 and it seems to fix this issue altogether. Do you agree this should be closed as fixed?
Comment 3 Roman Mostyka 2008-07-15 11:02:49 UTC
Fixed.
Comment 4 Roman Mostyka 2008-07-15 11:07:48 UTC
Verified with build 080714.