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 27546 - TestDriver issues an error info message where there should be a warning
Summary: TestDriver issues an error info message where there should be a warning
Status: CLOSED WONTFIX
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@db
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-24 17:51 UTC by lef
Modified: 2004-02-03 09:03 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lef 2002-09-24 17:51:16 UTC
For primary keys info, the following commands are issued 
by TestDriverAction.performTest:
            drvSpec.getPrimaryKeys(tab);
            rs = drvSpec.getResultSet();
If rs == null OR rs is empty, an error message is issued 
("DatabaseMetaData is not implemented". However, a valid 
database, with rs != null,  might contain no PKeys so in 
this case there should be a warning, while rs == null is a 
genuine defect. We are writing spreadsheet drivers (this 
is somewhat unusual), so there are never PKeys. Same is 
true for Indexes and Procedures.
Proposed solution: in TestDriverAction.performTest(), set 
the flag ok=false ONLY when rs == null for PrimaryKeys, 
Indexes and Procedures.
Comment 1 Radko Najman 2002-10-25 10:09:27 UTC
Resolution status changed.
Comment 2 Radko Najman 2004-02-02 18:10:04 UTC
TestDriverAction was removed for release 3.6. It is not used anymore.