Skip to content

Commit

Permalink
Update information about HANA jdbc driver.
Browse files Browse the repository at this point in the history
It is available on maven central now.
  • Loading branch information
aclemons committed May 16, 2020
1 parent 86feab7 commit a7c3609
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ bin

TAGS
**/workbench.xmi

.idea/
*.iml
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,3 @@ dialect and you are ready to start development.
Or to test with the row store (the example uses auto-generated tables):

$ mvn clean install -Djdbc.url=jdbc:sap://localhost:30215 -Djdbc.user=hibernate -Djdbc.password=hibernate -Dhibernate.dialect=org.hibernate.dialect.HANARowStoreDialect

You will need to manually install the HDB JDBC driver into your local maven
repository.

The simplest way is to download the HANA Cloud SDK and extract the driver from it.
It can be found here: [HANA Cloud SDK](https://repo1.maven.org/maven2/com/sap/cloud/neo-java-web-sdk/2.107.9/neo-java-web-sdk-2.107.9.zip).

$ wget https://repo1.maven.org/maven2/com/sap/cloud/neo-java-web-sdk/2.107.9/neo-java-web-sdk-2.107.9.zip && \
unzip neo-java-web-sdk-2.107.9.zip repository/.archive/lib/ngdbc.jar && \
mvn install:install-file -Dfile=repository/.archive/lib/ngdbc.jar -DgroupId=com.sap.db.hdb -DartifactId=com.sap.db.jdbc -Dversion=2.3.45.5a9ff585a5853e0cd59765ce72729abf7f2475b5 -Dpackaging=jar && \
rm -r repository
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@
<version>4.3.18.RELEASE</version>
</dependency>
<dependency>
<groupId>com.sap.db.hdb</groupId>
<artifactId>com.sap.db.jdbc</artifactId>
<version>2.3.45.5a9ff585a5853e0cd59765ce72729abf7f2475b5</version>
<groupId>com.sap.cloud.db.jdbc</groupId>
<artifactId>ngdbc</artifactId>
<version>2.4.76</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down

0 comments on commit a7c3609

Please sign in to comment.