cancel
Showing results for 
Search instead for 
Did you mean: 

Use Hana Graph Engine with Springboot

09-23-2025 11:13 PM
Yuchen Associate
1409 views 2 comments
SAP Managed Tags
Labels
"HANA Cloud"
Subscribe

I'm building a Spring Boot application and considering using the SAP HANA Graph engine as graph database. I'm wondering if there’s an ORM framework, like Spring Data Neo4j, that supports direct interaction with HANA Graph.

It appears that we can model vertex and edge tables using Spring JPA, but when it comes to GraphScript, we are limited to using stored procedures. That means I have to create the procedure on the HANA instance first and then call it from the service instead of using a native query with Spring JPA for DB interaction.

Is there a more direct way to use GraphScript within SpringBoot without predefining stored procedures in HANA?

Accepted Solutions (0)

Answers (1)

Answers (1)

mfath
Product and Topic Expert
Product and Topic Expert

Hej, there is no ORM framework specifically for HANA property graph engine. When it comes to calling the engine you are not limited to procedures. You can also work with table functions or - in a more dynamic way - execute anonymous blocks. See https://help.sap.com/docs/hana-cloud-database/sap-hana-cloud-sap-hana-database-property-graph-engine... 

Yuchen
Associate
Associate
0 Likes
Thanks for the info. So essentially, there’s no direct way to define a native query in the service via framework for graph engine interaction. If I want to control the query from service side(procedure and table functions can't do), using anonymous blocks with JDBC might be an option?