Hi all,
I'm currently developing a SAP CP Neo-hosted Java application. The application connects to a HANA instance in the Neo account, using JNDI lookup and the default datasource binding.
In more detail, on the application Data Source Bindings tab I have a binding for the data source <DEFAULT>. In the Java code I get hold of a DataSource using
new JndiDataSourceLookup().getDataSource("jdbc/DefaultDB");
According to the SAP HANA JDBC Connection Properties documentation (https://help.sap.com/viewer/0eec0d68141541d1b07893a39944924e/1.0.12/en-US/109397c2206a4ab2a5386d494f4cf75e.html) the HANA JDBC driver supports encrypted connections with the "encrypt" parameter.
My question now is: how can I set this JDBC property?
There seems to be no way to configure this in the Neo Data Source Bindings tab. Do I have to unwrap the DataSource to the HANA-specific one provided by the HANA JDBC driver? Is there any other way?
Thanks a lot for your help!
Kind regards,
Valentin