krummas / DrizzleJDBC

A BSD licensed JDBC driver for Drizzle and MySQL
BSD 3-Clause "New" or "Revised" License
31 stars 22 forks source link

Sometimes Drizzle JDBC (DrizzleConnection.java)gives exception on Connection.isValid() #19

Closed FilaFrancis closed 11 years ago

FilaFrancis commented 11 years ago

I am using MariaDB 5.5 with Drizzle JDBC .Sometimes I got the following exception in Connection.isValid() .When I got this exception datas are not populated in the GUI.

java.sql.SQLNonTransientConnectionException: Could not ping: Incomplete read! Expected 4, got -1 at org.drizzle.jdbc.internal.SQLExceptionMapper.get(SQLExceptionMapper.java:97) at org.drizzle.jdbc.DrizzleConnection.isValid(DrizzleConnection.java:950)

How I can solve this issue?

krummas commented 11 years ago

Thanks for the report, i will have a look

krummas commented 11 years ago

duplicate of #17

FilaFrancis commented 11 years ago

Thank you for your support