97244 Usability: Tables not owned by current user should not be included in the ?Available tables? pull-down in WSDL wizard for JDBCBC embedding_60_root
authornarayanap@netbeans.org
Wed, 04 Apr 2007 05:40:43 +0000
changeset 24880e6ce9f504a
parent 247 03cb15632e20
child 249 de8623025ced
97244 Usability: Tables not owned by current user should not be included in the ?Available tables? pull-down in WSDL wizard for JDBCBC
sql.wizard/src/org/netbeans/modules/jdbcwizard/wizards/JDBCWizardSelectionPanel.java
     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) {