Hi HANA community,
I studied a bunch of documentation and some forum threads towards this topic, though I could not find an elegant solution.
I am developing a prototype of the web application using JDBC to access SAP HANA data. This application will be available in German and English. The language has to be switchable from the Web-UI. In this I would like to respect Text-Joins which use session language for the text selection.
It is very common in this scenario to configure a JNDI data sources with a technical user and use a connection pool.
The language of the user can be controlled in HANA by the “alter user” statement or JDBC connection URL and is fixed for the connection lifetime. This is not sufficient for my case considering pooled connections.
Is there any way to switch the session locale on the fly using any other ALTER statement? set session 'LOCALE' = 'de' is not supported any more.