O'Reilly logo

Software Development on the SAP HANA Platform by Mark Walker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

XS Engine database access

Accessing the database itself from within an XS Engine application is done simply, from JavaScript. In this section, we'll take a look at what needs to be done on the backend to get this to work.

The first thing that SAP HANA requires in order to give access to the database is that a user should be logged into the system. For that reason, the authentication-less application we've just built cannot be used as-is for database access.

You, therefore, have two options at this point:

  • Use the application skeleton we've just built as a template for new applications, and copy it to initialize applications as you create them
  • Modify the application we've just made, building upon it and adding more features as we go

The option you choose ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required