I want to connect to a SAP HANA database using Hibernate.
My test database consists of only 1 column based table:
PERSON (ID, FIRSTNAME, SURNAME)
and the corresponding Hibernate object ‘Person’.
When I try to execute a simple query using
I get the following exception:
java.lang.UnsupportedOperationException: org.hibernate.dialect.HANAColumnStoreDialect does not support resultsets via stored procedures
This exception appears using Hibernate 4.3 as well as using Hibernate 5.2, using HANAColumnStoreDialect as well as HANARowStoreDialect
When turning on the show-sql flag the only statement that is executed is
select this_.ID as ID1_0_0_, this_.FIRSTNAME as FIRSTNAME2_0_0_, this_.SURNAME as SURNAME3_0_0_ from PERSON this_
Why does Hibernate try to call a stored procedure here? Or do I miss something?