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.
Summary: | When specifying empty required values a test connection should not be established. | ||
---|---|---|---|
Product: | db | Reporter: | brettryan <brettryan> |
Component: | Code | Assignee: | matthias42 |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 8.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
brettryan
2016-08-29 04:15:47 UTC
What would you verify? And how would you handle db driver defaults? From my perspective nearly every jdbc driver has its own scheme and defaults. For example host in connector/j (mysql) defaults to 127.0.0.1, db is not needed for mysql. So validation has to be driver specific and most probably also version specific. I don't mind leaving this open, but the test connection option is exactly to make the driver test the connection. The driver is the right place to do validation, as this is implementation depended. I'll have a look into #254124 which is IMHO the real problem in this case, as the reply from the driver is not shown completely. Marking as an enhencement. |