Skip to content

aclemons/hibernate-hdb-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hibernate-hdb-demo

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://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://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:

https://hub.docker.com/r/saplabs/hanaexpress

About

Demo HDB with Hibernate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages