-
Notifications
You must be signed in to change notification settings - Fork 41.4k
Support for SAP Hana Database #14513
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
Conversation
@MichaelSp Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@MichaelSp Thank you for signing the Contributor License Agreement! |
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.
Thanks for the PR. I've added a comment.
@@ -16,14 +16,14 @@ | |||
|
|||
package org.springframework.boot.jdbc; | |||
|
|||
import org.springframework.util.Assert; |
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.
This layout change seems unrelated. Could you please revert that part?
/** | ||
* SAP - SAP Hana Database - HDB. | ||
*/ | ||
HDB("HDB", "com.sap.db.jdbc.Driver", "com.sap.db.jdbcext.XADataSourceSAP", |
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.
Given the package space, is there any concrete reason why this can't be named SAP
? If the JDBC id is sap
I think it should be fine naming it that way. Thoughts?
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.
The driver itself has this:
public static String getDatabaseName() {
return "HDB";
}
public static String getDriverName() {
return "HDB";
}
I don't know the implications, but to me it looks like the name "HDB" aligns better. Open for discussion....
arghs...
https://stackoverflow.com/questions/42431906/ngdbc-jar-equivalent-maven-repository any idea? |
You shouldn't add a reference to the driver as we're not offering dependency management for it. It would be nice if you had a single proposal rather than opening a PR and then amending things after the fact. Please remove the driver in the pom, it is not needed. |
Ok, sorry. I thought the change is straight forward... |
Signed-off-by: Michael Sprauer <Michael.Sprauer@sap.com>
@MichaelSp we've just discussed this and we think |
Signed-off-by: Michael Sprauer <Michael.Sprauer@sap.com>
* pr/14513: Polish "Add support for SAP Hana Database" Add support for SAP Hana Database
The driver itself can be found here: