Skip to content

Commit 0c30567

Browse files
committed
Merge pull request #15124 from breglerj
* pr/15124: Fix HANA validation query
2 parents f274772 + e74348e commit 0c30567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/DatabaseDriver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public String getId() {
104104
* @since 2.1.0
105105
*/
106106
HANA("HDB", "com.sap.db.jdbc.Driver", "com.sap.db.jdbcext.XADataSourceSAP",
107-
"SELECT 1 FROM DUMMY") {
107+
"SELECT 1 FROM SYS.DUMMY") {
108108
@Override
109109
protected Collection<String> getUrlPrefixes() {
110110
return Collections.singleton("sap");

0 commit comments

Comments
 (0)