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: | Need more smart hints in case if no connection was found in jpql editor | ||
---|---|---|---|
Product: | javaee | Reporter: | Sergey Petrov <sj-nb> |
Component: | Persistence | Assignee: | Sergey Petrov <sj-nb> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | geertjan, pjiricka |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Sergey Petrov
2013-03-07 10:14:07 UTC
*** Bug 227149 has been marked as a duplicate of this bug. *** forget to mention one more option, need to reevaluate if missed connection registration should be a blocker instead of hint in case of failed query only but there was some reasons to require registration, at least to open a connection, to add a driver to classpath if necessary, for substitution of datasource with a connection and may be more. one more option, for usability hint button "register db connection" may be added in jpql editor. message is changed to You need to register database connection on Services tab, expected url=\"{0}\", driver=\"{1}\", user=\"{2}\" should match exactly. wording may change a bit, feel free to correct me also, but will it be helpful? I suppose it can be considered as fixed before we get more feedback if this hint work or not. it's not in usual daily builds yet but in 7.3.1 Integrated into 'main-golden', will be available in build *201303222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/22c98ef5e812 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #227148 add hint regarding url/driver/user cleaup |