-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HANA connection dialog: convert GENERIC + host=<host>:443 to CLOUD (#35045) #35046
HANA connection dialog: convert GENERIC + host=<host>:443 to CLOUD (#35045) #35046
Conversation
Thank you for contribution! |
...rg.jkiss.dbeaver.ext.hana.ui/src/org/jkiss/dbeaver/ext/hana/ui/views/HANAConnectionPage.java
Outdated
Show resolved
Hide resolved
@@ -182,7 +182,7 @@ public void loadSettings() { | |||
super.loadSettings(); | |||
DBPConnectionConfiguration connectionInfo = site.getActiveDataSource().getConnectionConfiguration(); | |||
edition = HANAEdition.fromName(connectionInfo.getProviderProperty(PROV_PROP_EDITION)); | |||
portValue = CommonUtils.toString(connectionInfo.getHostPort(), site.getDriver().getDefaultPort()); | |||
portValue = CommonUtils.toString(connectionInfo.getHostPort()/*, site.getDriver().getDefaultPort()*/); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need default port anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All editions except GENERIC have there own rule to calculate the port from other fields or have a fixed port.
GENERIC is not really an own edition, but a fallback that allows pasting already know host+port. The preset port was wrong in most cases as an on-premise HANA has an instance number in the range from 0 to 99 and the actual port depends on that number.
We passed your PR to our QA team for testing |
verified |
No description provided.