From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 0AD942C2B5 for ; Wed, 10 Oct 2018 08:50:25 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a5qyfrNebZy4 for ; Wed, 10 Oct 2018 08:50:24 -0400 (EDT) Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id BFDF82C2A9 for ; Wed, 10 Oct 2018 08:50:24 -0400 (EDT) Date: Wed, 10 Oct 2018 15:50:20 +0300 From: Alexander Turenko Subject: [tarantool-patches] Re: [PATCH] jdbc: fix primary keys meta retrieval Message-ID: <20181010125020.4i6mizyxz6ftc2m7@tkn_work_nb> References: <1537954408-3275-1-git-send-email-ztarvos@gmail.com> <20181001130427.zlugbqlg3madlo7r@tkn_work_nb> <20181009092158.GA17512@daedra.localdomain> <20181009154005.uj5cwb6hcmhsmbju@tkn_work_nb> <20181010081401.GA22345@daedra.localdomain> <20181010101938.7vtr3rw632hw2vyw@tkn_work_nb> <20181010110947.GA6883@daedra.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181010110947.GA6883@daedra.localdomain> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: Sergei Kalashnikov Cc: tarantool-patches On Wed, Oct 10, 2018 at 02:09:48PM +0300, Sergei Kalashnikov wrote: > Sure. Please find the amended patch at the very end of this mail. > Found one more such case. Sorry, missed that before. diff --git a/src/test/java/org/tarantool/jdbc/JdbcExceptionHandlingTest.java b/src/test/java/org/tarantool/jdbc/JdbcExceptionHandlingTest.java index 39d6326..8cc7acc 100644 --- a/src/test/java/org/tarantool/jdbc/JdbcExceptionHandlingTest.java +++ b/src/test/java/org/tarantool/jdbc/JdbcExceptionHandlingTest.java @@ -25,10 +25,10 @@ public class JdbcExceptionHandlingTest { /** * Simulates meta parsing error: missing "name" field in a space format for the primary key. * - * @throws Exception on failure. + * @throws SQLException on failure. */ @Test - public void testDatabaseMetaDataGetPrimaryKeysFormatError() throws Exception { + public void testDatabaseMetaDataGetPrimaryKeysFormatError() throws SQLException { TarantoolConnection tntCon = mock(TarantoolConnection.class); SQLConnection conn = new SQLConnection(tntCon, "", new Properties()); You can don't attach the whole patch in case of such small code tweaks (at least for me), because we anyway kept in sync using the repository. WBR, Alexander Turenko.