Skip to content
Advertisement

Tag: hikaricp

Failed to get driver instance for jdbcUrl=jdbc:postgresql:/// error for CloudSQL

I am trying to connect to my GCP projects PostgreSQL CloudSQL instance from my local machine. The PostgreSQL doesn’t have a public IP, only private. I get the below error Failed to get driver instance for jdbcUrl=jdbc:postgresql:///mdm java.sql.SQLException: No suitable driver I have verified that my username, instancename, IAM connectivity is all working fine. The IAM service account I am

Programmatically restart HikariPool in Spring Boot application?

I have a Spring Boot application which uses Hibernate, and HikariDataSource / HikariPool to talk to the database. A special feature in the app triggers database restart. Currently this breaks the connections in HikariPool: Old version of the app does call programmatically org.hibernate.SessionFactory.close(); which causes restart of HikariDataSource / HikariCP: I would like to do the same, but how can

Advertisement