I'm developing a RESTful application and whenever I make a request, it works fine, but also outputs these warnings:
o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Warning Code: 0, SQLState: null
o.h.engine.jdbc.spi.SqlExceptionHelper : Connection.isValid does not support non-zero timeouts, timeout value 5 has been ignored
Using Spring Boot framework with Hibernate, HikariCP, QueryDSL and a Firebird database using the Jaybird 4.0.5.java11 version.
Here is my application.yml
file where I setup the connection with my database:
spring:
datasource:
driver-class-name: org.firebirdsql.jdbc.FBDriver
url: jdbc:firebirdsql://localhost:3050/C:\\path\\to\\my\\database.fdb?encoding=win1252
username: myuser
password: mypassword
hikari:
connection-timeout: 1000
login-timeout: 1000
minimum-idle: 10
jpa:
database-platform: org.hibernate.dialect.FirebirdDialect
hibernate:
ddl-auto: validate
I've tried all options I could to setup a timeout but none of them made the timeout warning go away.
Also, I can't figure out that SQL Warning Code: 0, from what I've gathered so far, it means it worked, but why is it outputting a warning?
I should mention that I've altered some sensitive information and they were replaced with path\\to\\my\\database.fdb
, myuser
and mypassword
, but these settings work just fine.