提交 7e57edd8 编写于 作者: S Serge Rider

#3874 Snowflake connection page fix (driver properties)

上级 ad107dac
......@@ -51,11 +51,6 @@ public class SnowflakeDataSourceProvider extends JDBCDataSourceProvider {
return FEATURE_SCHEMAS;
}
@Override
public DBPPropertyDescriptor[] getConnectionProperties(DBRProgressMonitor monitor, DBPDriver driver, DBPConnectionConfiguration connectionInfo) throws DBException {
return null;
}
@Override
public String getConnectionURL(DBPDriver driver, DBPConnectionConfiguration connectionInfo)
{
......
......@@ -39,6 +39,7 @@ import org.jkiss.dbeaver.ui.ICompositeDialogPage;
import org.jkiss.dbeaver.ui.IDataSourceConnectionTester;
import org.jkiss.dbeaver.ui.UIUtils;
import org.jkiss.dbeaver.ui.dialogs.connection.ConnectionPageAbstract;
import org.jkiss.dbeaver.ui.dialogs.connection.DriverPropertiesDialogPage;
import org.jkiss.utils.CommonUtils;
import java.util.ArrayList;
......@@ -291,7 +292,7 @@ public class SnowflakeConnectionPage extends ConnectionPageAbstract implements I
if (!result.contains("")) {
result.add(0, "");
}
combo.setItems(result.toArray(new String[result.size()]));
combo.setItems(result.toArray(new String[0]));
combo.setText(oldText);
});
}
......@@ -300,7 +301,7 @@ public class SnowflakeConnectionPage extends ConnectionPageAbstract implements I
public IDialogPage[] getSubPages()
{
return new IDialogPage[] {
//new DriverPropertiesDialogPage(this)
new DriverPropertiesDialogPage(this)
};
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册