Skip to Content
0

How to use calculation view in Java hibernate framework ?

Apr 10, 2017 at 10:52 AM

67

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Apr 13, 2017 at 12:14 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded