Caused by: org.hibernate.service.spi.ServiceException:
Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
due to: io.vertx.oracleclient.OracleException: ORA-17868:
Unknown host specified.: oracle: Temporary failure in name resolution
I have tried to use https://github.com/marketplace/actions/setup-oracle-db-free and custom docker compose to serve an oracle db, when connecting to db against
localhost
host, I got the error like this:The Github task I have tried like this.
And the docker compose file use this docker image like this.
And Github actions step to call it.
The JDBC URL I used to connect this db is
jdbc:oracle:thin://localhost:1521/blogdb
.