cancel
Showing results for 
Search instead for 
Did you mean: 

How to use calculation view in Java hibernate framework ?

former_member250641
Participant
0 Kudos

Hi ,

I have Java service written in Hibernate framework as our requirement to run java service in Hana platform so we are using Hana CDS table in Java entity file and it was working as expected previously now SAP has suggested that to use calculation view to better performance and suggested to find the all SQL query created by Hibernate framework in Hibernate sql show and created the calculation view as it is created by the Hibernate framework . So all view also created as expected now the issue was how we call the view means how we use the view in our service so that we don't need to create the Java service from the start .

Please help me on this

Thanks,

Sumit

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member250641
Participant
0 Kudos

Hi All ,

for call the calculation view we need to write the bellow query :-

select "id","password" from "_SYS_BIC"."celtron.Views/userId_select"(PLACEHOLDER."$$userId$$"=>?)

Thanks,

Sumit