cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Exception instantiating PostgreSqlSSLFactory when CDS app is deployed on BTP

MikeO
Discoverer
0 Likes
527

I have created a small test application using the SAP CDS SDK for Java. I am able to compile it and run it locally and read data from a postgres database in Docker.

The moment I deploy this application to SAP BTP and use a postgres hyperscale database, I will get an exception the moment the database is being accessed by the odata service:

MikeO_0-1722844805126.png

I am using the CDS SDK version 3.1.0 and Spring Boot 3.3.2. In the pom.xml, the postgres dependency has been added using com.sap.cds:cds-feature-postgresql.

What am I missing which leads to this error?

 

Accepted Solutions (1)

Accepted Solutions (1)

MikeO
Discoverer
0 Likes

Apparently this is caused by a bug in the sap_java_buildpack and the current workaround is to use the public java_build_pack.

Answers (0)