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 222736 - New Database Connection option in New Entity Classes from Database wizard does nothing
Summary: New Database Connection option in New Entity Classes from Database wizard doe...
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-26 07:39 UTC by mienamoo
Modified: 2012-11-30 09:15 UTC (History)
2 users (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 mienamoo 2012-11-26 07:39:37 UTC
NetBeans build 201211200002
JDK 7u9 64-bit

I just wanted to create new entity classes from a database connection that I haven't set up yet. So I went into the New Entity Classes from Database wizard. And on the Database Tables page, I chose New Database Connection... from the Database Connection combo box. And nothing happened...
Comment 1 Sergey Petrov 2012-11-26 10:35:22 UTC
please provide project type, do you have any connections already?
do you have any exceptions in message.log?
Comment 2 Sergey Petrov 2012-11-26 10:42:18 UTC
I'm able to reproduce.
Comment 3 Sergey Petrov 2012-11-26 11:20:40 UTC
caused by http://hg.netbeans.org/web-main/rev/3e8d6e8df597 (new connections works fine after revert).
feel free to pus back if it's expected result of this change and client code (persistence code) should be updated.
Comment 4 Jaroslav Havlin 2012-11-26 13:38:12 UTC
http://hg.netbeans.org/core-main/rev/c39af246d969
It seems to work correctly now. Please verify.
Thank you for reporting and for evaluation.
Comment 5 matthias42 2012-11-26 17:57:34 UTC
(In reply to comment #4)
> http://hg.netbeans.org/core-main/rev/c39af246d969
> It seems to work correctly now. Please verify.
> Thank you for reporting and for evaluation.

As the one causing this bug - the fix looks good. Actually the change in that method should not have been part of the changeset - sorry!

Please note: I didn't try this change, but just analysed the introduced change.
Comment 6 Jaroslav Havlin 2012-11-27 08:07:52 UTC
(In reply to comment #5)
> As the one causing this bug - the fix looks good. Actually the change in that
> method should not have been part of the changeset - sorry!
No problem, Matthias.
Thank you for checking the fix!
Comment 7 Quality Engineering 2012-11-28 02:33:38 UTC
Integrated into 'main-golden', will be available in build *201211280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c39af246d969
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #222736: New Database Connection option in New Entity Classes from Database wizard does nothing
Comment 8 mienamoo 2012-11-30 09:15:16 UTC
Verified with build 201211290002. Thanks!