Skip to Content

Storing data in HANA DB (Neo environment): Should I still use XSClassic or is JPA the way to go?


I read a lot in these forums and on blogs to find an answer myself for this question, the problem by doing this research was, either the blog and forum entries were pretty old or there was no really good arguments against or towards one of these approaches.

So what I do know is, the documentation and tutorials say "do not use HANA XSClassic anymore it's deprecated". That's reasonable since XSA is there. But as far as I understood I can use XSA only in the Cloud Foundry Environment and XSClassic in the "Neo" environment.

So my question now is, if my environment is "Neo", what would be the best approach to store my data e.g. from an SAPUI5 application into my hana database?

Kind regards


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 21 at 03:35 PM

    Hi Maximilian,

    You are correct. On Neo the only database options are ASE and HANA (depending on the subscription). Therefore, the db you choose will probably be the one you already have an entitlement to. One the other hand, you need to choose how to develop for this particular db. In case of HANA on Neo there are two options: XS Classic (xsodata) or Java (with the aid of SDK for Service Development). Even though both are kind of "old", they are still viable possibilities for development on Neo. You just have to keep in mind what will happen in case you should move from Neo and into CF.

    If opt for xsodata artifacts, you could later on move to CDS service definition - and still maintain the SAPUI5 development as is. The challenge will be more related to moving from destination in Neo to destinations in the AppRouter.

    If you opt to use de SDK, you still have your development efforts protected as they are still supported on XSA.

    Either way you're safe.

    Hope this helps.

    Best regards,

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Ivan,

      thanks for your answer and outlining the consequences for a move to CF. That really helped me to understand where the possible challenges are by taking the step to CF and what to take into consideration right now for development on the neo environment.

      Thanks again for your answer and time!

      Kind regards