Skip to Content
avatar image
Former Member

How to use calculation view in Java hibernate framework ?

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

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

    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

    Add comment
    10|10000 characters needed characters exceeded