97244 Usability: Tables not owned by current user should not be included in the ?Available tables? pull-down in WSDL wizard for JDBCBC
1.1 --- a/sql.wizard/src/org/netbeans/modules/jdbcwizard/wizards/JDBCWizardSelectionPanel.java Wed Apr 04 01:14:47 2007 +0000
1.2 +++ b/sql.wizard/src/org/netbeans/modules/jdbcwizard/wizards/JDBCWizardSelectionPanel.java Wed Apr 04 05:40:43 2007 +0000
1.3 @@ -329,7 +329,7 @@
1.4 this.dbtype = DBMetaData.getDBType(this.selectedConnection.getJDBCConnection());
1.5 this.dbmodel = new DatabaseModelImpl(this.selectedConnection.getDisplayName(), def);
1.6
1.7 - final String[][] tableList = DBMetaData.getTablesOnly("", "", "", false,connection);
1.8 + final String[][] tableList = DBMetaData.getTablesOnly("", this.selectedConnection.getSchema(), "", false,connection);
1.9 String[] currTable = null;
1.10 List tableNamesList = new ArrayList();
1.11 if (tableList != null) {