like mentioned in the question I keep getting this exception when I run spring boot app connected to hana db container. This is the exception I get:
Caused by: org.flywaydb.core.internal.exception.FlywaySqlException:
Unable to read database connection metadata: SAP DBTech JDBC: Object is closed: com.sap.db.jdbc.HanaConnectionClean@19ccca5[closed]
-----------------------------------------------------------------------------------------------------------------------------------
SQL State : HY000
Error Code : -11212
Message : SAP DBTech JDBC: Object is closed: com.sap.db.jdbc.HanaConnectionClean@19ccca5[closed]
I am able to connect to it via CLI and db clients but app is failing.