Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

Empty resultset returned by JDBC Connection (no replies)

$
0
0
Hello,

We are running MySQL 5.7.27-enterprise-commercial-advanced-log on Linux.

JDBC Driver -mysql-connector-java-8.0.11.jar
Driver Class - com.mysql.cj.jdbc.Driver
JDBC URL - jdbc:mysql://myDB:3306/data?useSSL=false&serverTimezone=UTC
Pool Management- HikariCP 2.6.0
DAO implementation - Spring JDBCTemplate on Spring Boot 1.5.8.RELEASE
OS: Linux

It works as expected but sometimes it will start returning empty resultset. But using MySQL Workbench the query works as expected.

We have update the connector from 5 to 8 and updated the driver also but no luck. It has been a nightmare. Can someone help on this?

Viewing all articles
Browse latest Browse all 884

Trending Articles