From 84d8b0325b777ccda36c7154eb6eec1eb4e873bf Mon Sep 17 00:00:00 2001 From: Serge Rider Date: Wed, 30 Oct 2024 06:24:12 +0100 Subject: [PATCH] dbeaver/dbeaver#23361 Connection verify --- .../java/com/dbeaver/jdbc/driver/libsql/LibSqlConnection.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/com.dbeaver.jdbc.driver.libsql/src/main/java/com/dbeaver/jdbc/driver/libsql/LibSqlConnection.java b/com.dbeaver.jdbc.driver.libsql/src/main/java/com/dbeaver/jdbc/driver/libsql/LibSqlConnection.java index 2409e38..ab18e71 100644 --- a/com.dbeaver.jdbc.driver.libsql/src/main/java/com/dbeaver/jdbc/driver/libsql/LibSqlConnection.java +++ b/com.dbeaver.jdbc.driver.libsql/src/main/java/com/dbeaver/jdbc/driver/libsql/LibSqlConnection.java @@ -54,6 +54,8 @@ public LibSqlConnection( } catch (IOException e) { throw new SQLException(e); } + // Verify connection + getMetaData().getDatabaseProductName(); } public LSqlClient getClient() {