message: Use try with resource instead to clean up / close JDBC resources.
diff: @@ -496,46 +496,46 @@ public class TestDuckDBJDBC {
  }
  public static void test_list_metadata() throws Exception {
  - Connection conn = DriverManager.getConnection("jdbc:duckdb:");
  - Statement stmt = conn.createStatement();
  -
  - ResultSet rs;
  -
  - rs = stmt.executeQuery("SELECT generate_series(2) as list");
  + try (Connection conn = DriverManager.getConnection("jdbc:duckdb:")) {
  + try (Statement stmt = conn.createStatement()) {
  + try (ResultSet rs = stmt.executeQuery("SELECT generate_series(2) as list")) {
  ResultSetMetaData meta = rs.getMetaData();
  assertEquals(meta.getColumnCount(), 1);
  assertEquals(meta.getColumnName(1), "list");
  assertEquals(meta.getColumnTypeName(1), "BIGINT[]");
  assertEquals(meta.getColumnType(1), Types.ARRAY);
  }
  + }
  + }
  + }
  public static void test_struct_metadata() throws Exception {
  - Connection conn = DriverManager.getConnection("jdbc:duckdb:");
  - Statement stmt = conn.createStatement();
  -
  - ResultSet rs;
  -
  - rs = stmt.executeQuery("SELECT {'i': 42, 'j': 'a'} as struct");
  + try (Connection conn = DriverManager.getConnection("jdbc:duckdb:")) {
  + try (Statement stmt = conn.createStatement()) {
  + try (ResultSet rs = stmt.executeQuery("SELECT {'i': 42, 'j': 'a'} as struct")) {
  ResultSetMetaData meta = rs.getMetaData();
  assertEquals(meta.getColumnCount(), 1);
  assertEquals(meta.getColumnName(1), "struct");
  assertEquals(meta.getColumnTypeName(1), "STRUCT(i INTEGER, j VARCHAR)");
  assertEquals(meta.getColumnType(1), Types.JAVA_OBJECT);
  }
  + }
  + }
  + }
  public static void test_map_metadata() throws Exception {
  - Connection conn = DriverManager.getConnection("jdbc:duckdb:");
  - Statement stmt = conn.createStatement();
  -
  - ResultSet rs;
  -
  - rs = stmt.executeQuery("SELECT map([1,2],['a','b']) as map");
  + try (Connection conn = DriverManager.getConnection("jdbc:duckdb:")) {
  + try (Statement stmt = conn.createStatement()) {
  + try (ResultSet rs = stmt.executeQuery("SELECT map([1,2],['a','b']) as map");) {
  ResultSetMetaData meta = rs.getMetaData();
  assertEquals(meta.getColumnCount(), 1);
  assertEquals(meta.getColumnName(1), "map");
  assertEquals(meta.getColumnTypeName(1), "MAP(INTEGER, VARCHAR)");
  assertEquals(meta.getColumnType(1), Types.JAVA_OBJECT);
  }
  + }
  + }
  + }
  public static void test_result() throws Exception {
  Connection conn = DriverManager.getConnection("jdbc:duckdb:");
  