Answer the question
In order to leave comments, you need to log in
Spring and Firebird: how to fix SQLState: null and not support non-zero timeouts warnings?
Hello!
Struggling with Spring and Firebird (server v 2.5). Questions:
1. When making requests from the code, I receive the following warnings:
WARN 11008 --- [ntContainer#0-1] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Warning Code: 0, SQLState: null
WARN 11008 --- [ntContainer#0-1] o.h.engine.jdbc.spi.SqlExceptionHelper : Connection.isValid does not support non-zero timeouts, timeout value 5 has been ignored
DBMS: Red Database 2.5 (ver. WI-V2.5.0.10968) Case sensitivity: plain=upper, delimited=exact Driver: Jaybird JCA/JDBC driver (ver. 4.0.4, JDBC4.3) Effective version: Firebird (ver. 2.5) Ping: 50 ms (keep-alive query results in error)
[42000][335544851] Dynamic SQL Error; SQL error code = -104; Unexpected end of command - line 1, column 8 [SQLState:42000, ISC error code:335544851]
[00000][335544436] SQL error code = -104 [42000][335544851] Unexpected end of command - line 1, column 8.
Answer the question
In order to leave comments, you need to log in
Tex ... I figured out the first question, I'll leave it here, suddenly it will come in handy for someone. Decided by downgrading the JDBC driver to 2.2.15 (by writing the appropriate line in pom.xml). As I understand it - the old DBMS server - the old driver :) By the way, jar for java-1.8 normally (at least for now) works under java-17.
The second question is still unanswered, the trick with slipping the old driver did not work there .....
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question