Integrate SAP Hana as supported Spring Batch database
This commit adds SAP HANA as a supported Spring Batch database, enabling developers to seamlessly move their existing Spring Batch projects to SAP HANA or easily starting new Spring Batch projects on SAP HANA. This commit contains the following changes: - Add SAP HANA to the DatabaseType enum - Add HanaPagingQueryProvider and tests - Add properties files for SAP HANA Issue #2515
This commit is contained in:
committed by
Mahmoud Ben Hassine
parent
44dd4f7f56
commit
9388abb589
12
spring-batch-samples/src/main/sql/hana.properties
Normal file
12
spring-batch-samples/src/main/sql/hana.properties
Normal file
@@ -0,0 +1,12 @@
|
||||
platform=hana
|
||||
# SQL language oddities
|
||||
BIGINT = BIGINT
|
||||
IDENTITY =
|
||||
GENERATED = GENERATED BY DEFAULT AS IDENTITY
|
||||
DOUBLE = DOUBLE
|
||||
DECIMAL = DECIMAL
|
||||
BLOB = BLOB
|
||||
TIMESTAMP = TIMESTAMP
|
||||
VARCHAR = VARCHAR
|
||||
# for generating drop statements...
|
||||
SEQUENCE = SEQUENCE
|
||||
2
spring-batch-samples/src/main/sql/hana.vpp
Normal file
2
spring-batch-samples/src/main/sql/hana.vpp
Normal file
@@ -0,0 +1,2 @@
|
||||
#macro (sequence $name $value)CREATE SEQUENCE ${name} START WITH ${value} MINVALUE 0;
|
||||
#end
|
||||
Reference in New Issue
Block a user