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.
Hi, I need to use the APIs in DerbyDatabases. Please add my module to the friend list of module "Java DB Database Support" My module's code base name is com.sun.rave.dataconnectivity. Major release is 1 Specification version is 2.0 Thank you
I would like to ask for a review for adding com.sun.rave.dataconnectivity as a friend of org.netbeans.modules.derby. The API provided by org.netbeans.modules.derby consists of a DerbyDatabases class (already in the CVS) http://www.netbeans.org/source/browse/*checkout*/db/derby/src/org/netbeans/modules/derby/api/Attic/DerbyDatabases.java?rev=1.1.2.5 which allows a client to create new Derby databases. There is also an SPI, which the new client will not use.
The reporter has retracted the request for this API.
"OSLO" client is needed to create sample databases on a user-installed Derby database system. To create a sample database, checks are required to: - verify a Derby installation (registration) by checking system home setting, etc. - load driver - connect to database - check if database already exists - create Sample databases ... After further investigation, the verification of Derby installation fails. The client module does not have access to org.netbeans.modules.derby. The System option (for the Derby system home) is set by DerbyOptions class which is not public to external APIs (external to org.netbeans.modules.derby) However, DerbyDatabases.java is able to access DerbyOptions. Therefore OSLO client requires com.sun.rave.dataconnectivity to be added to the friend list of org.netbeans.modules.derby Client will only use APIs in DerbyDatabases.java
Since this issue was assigned to apireviews for more than a week and there were not comments, I take it as reviewed and will commit on Monday. Thank you for the review.
Integrated. Checking in db/derby/nbproject/project.xml; /cvs/db/derby/nbproject/project.xml,v <-- project.xml new revision: 1.4.2.2.2.4; previous revision: 1.4.2.2.2.3 done Checking in ide/golden/friend-packages.txt; /cvs/ide/golden/friend-packages.txt,v <-- friend-packages.txt new revision: 1.15.4.1.2.121; previous revision: 1.15.4.1.2.120 done
I see the fix is in the Aug 9 daily build. Thank you