Skip to content
This repository has been archived by the owner on Aug 23, 2021. It is now read-only.

Add SAP HANA for TPCC #262

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

suafeng
Copy link

@suafeng suafeng commented Oct 6, 2018

  1. Add tpcc ddl for sap hana.
  2. Add hana to database type catalog.
  3. Add sap hana jdbc driver jar.

Copy link
Member

@apavlo apavlo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See fix requests.

What is ngdbc.jar?

config/sample_hanatpcc_config.xml Outdated Show resolved Hide resolved
config/sample_hanatpcc_config.xml Outdated Show resolved Hide resolved
src/com/oltpbenchmark/types/DatabaseType.java Outdated Show resolved Hide resolved
@suafeng
Copy link
Author

suafeng commented Oct 7, 2018

ngdbc.jar is com.sap.db.jdbc.Driver.

@flytiger
Copy link

instead of check-in the ngdbc.jar, it might be better to add dependency in ivy.xml?

@@ -128,7 +128,8 @@ public final PreparedStatement getPreparedStatementReturnKeys(Connection conn, S

// HACK: If the target system is Postgres, wrap the PreparedStatement in a special
// one that fakes the getGeneratedKeys().
if (is != null && this.dbType == DatabaseType.POSTGRES) {
if (is != null && this.dbType == DatabaseType.POSTGRES ||
(this.dbType == DatabaseType.HANA)) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary? the AutoIncrementPreparedStatement doesn't have special handling for HANA anyway.

@eoinmarron
Copy link

Hi @suafeng, folks,
Do we've any idea when these changes would be applied, so this support would be included?
Thank you,
Eoin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants