Skip to content

Commit 7d4d3db

Browse files
committed
Add alternative database name for HANA
Issue: SPR-14261
1 parent c2625f9 commit 7d4d3db

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

spring-jdbc/src/main/resources/org/springframework/jdbc/support/sql-error-codes.xml

+5-2
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,11 @@
250250

251251
<!-- http://help.sap.com/saphelp_hanaplatform/helpdata/en/20/a78d3275191014b41bae7c4a46d835/content.htm -->
252252
<bean id="Hana" class="org.springframework.jdbc.support.SQLErrorCodes">
253-
<property name="databaseProductName">
254-
<value>SAP DB</value>
253+
<property name="databaseProductNames">
254+
<list>
255+
<value>SAP DB</value>
256+
<value>HDB</value>
257+
</list>
255258
</property>
256259
<property name="badSqlGrammarCodes">
257260
<value>

0 commit comments

Comments
 (0)