Demo HDB with Hibernate
I keep getting queries about using Hibernate with SAP HANA. It is actually no
different to using Hibernate with any other database. Just configure the proper
dialect and you are ready to start development.
$ mvn clean install -Djdbc.url=jdbc:sap:https://localhost:30215 -Djdbc.user=hibernate -Djdbc.password=hibernate
Or to test with the row store (the example uses auto-generated tables):
$ mvn clean install -Djdbc.url=jdbc:sap:https://localhost:30215 -Djdbc.user=hibernate -Djdbc.password=hibernate -Dhibernate.dialect=org.hibernate.dialect.HANARowStoreDialect
The simplest way to get started with local development is to use the SAP HANA docker image: