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: | Entity Classes from Database wizard, Step 2: Available Tables not displayed | ||
---|---|---|---|
Product: | db | Reporter: | Troy Giunipero <tgiunipero> |
Component: | DB schema | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Troy Giunipero
2009-12-07 11:39:48 UTC
Is there any exceptions? Can you create database schema from this connection? (Persistence|Database Schema wizard) | Is there any exceptions? No. | Can you create database schema from this connection? (Persistence|Database Schema wizard) No. thanks, need to be evaluated on schema generation side first as entity from db use schema generation. I can confirm the steps leads to unavailability to create Entity Classes from Consult Database, cause: user who creates the Consult database has other name than consult, it means has another default schema than consult. A easy workaround (should be documented in the tutorial) is: change point 1) Create a new 'consult' database using the JavaDB server => Create a new 'consult' database using 'consult' username and whatever password. Then it works for me. I'm lowering the priority and I'll file new issue about heart of problem, allow to read tables from other schema then is the user's default. For NB6.8, NB6.9M1 I recommend use the note workaround. If I'm wrong, let me know. Thanks Conclusion: The script in the tutorial removes creating an another schema then user name in database consult. |