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 82325

Summary: Better defaulting for automatic database schema selection
Product: javaee Reporter: Rochelle Raccah <raccah>
Component: PersistenceAssignee: Rochelle Raccah <raccah>
Status: RESOLVED FIXED    
Severity: blocker CC: jrojcek
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Rochelle Raccah 2006-08-09 23:38:16 UTC
See issue 74113.

There is one outstanding problem - 
"Another unexpected behavior:
Say I have a dbschema file in mypackage and right click on that package to
invoke this wizard.  The first found schema in META-INF is the default, not the
one in my package."
Comment 1 Andrei Badea 2006-08-10 09:33:29 UTC
Considering that dbschema files are usually in src/META-INF or src/conf and not
in packages, I think this it is unlikely that this issue affects any user.
Comment 2 Rochelle Raccah 2006-08-17 21:47:45 UTC
I thought it was a bit more common and the fix was easy:
Checking in
src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/DatabaseTablesPanel.java;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Attic/DatabaseTablesPanel.java,v
 <--  DatabaseTablesPanel.java
new revision: 1.1.2.36; previous revision: 1.1.2.35
done
Comment 3 Rochelle Raccah 2006-08-17 21:48:13 UTC
fixed