Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qltGF-004lLp-Mc for pgsql-general@arkaria.postgresql.org; Thu, 28 Sep 2023 15:49:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qltGC-00EKIK-DU for pgsql-general@arkaria.postgresql.org; Thu, 28 Sep 2023 15:49:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qltGB-00EKHb-He for pgsql-general@lists.postgresql.org; Thu, 28 Sep 2023 15:49:03 +0000 Received: from mail-oi1-x232.google.com ([2607:f8b0:4864:20::232]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qltG8-0078vm-Nf for pgsql-general@lists.postgresql.org; Thu, 28 Sep 2023 15:49:01 +0000 Received: by mail-oi1-x232.google.com with SMTP id 5614622812f47-3af5fda8f6fso1322084b6e.3 for ; Thu, 28 Sep 2023 08:49:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695916139; x=1696520939; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=WiD1mOyNiLZE+u/YGpzCwqSv6Xt9WDubgL55cLmmco8=; b=anDCqEWqNu47hxnAtkESG1HJKJr2w+/SSogoSKpmn7y6fkPsmFEsrUanBxuw3SxbOg p0pXUUHKNA3Sb4vr3YpD0v3IOFDLhHV0SKndvJ/W69T4RhJfld2GlGeXP6CG1jXn/iMA UpSQNZY7BjhpuMI69zlX0zlVw/0DOS5ZCTpepNiQVRyKkn1qP7g5d9z3WfA4TvwMwEWO ts/XVDHda7LIe2crRw6SYS1a6q77EcZHsJsdWnO0UQD+jIu/dfH+RhaC5bxubzzY+ZGk oyv41WQmBWNpQ0yZfdpBoyzmXT8H9ukNZc2OyUWgqtuJ6kgNvTfbpycG858yem5llsgz sDSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695916139; x=1696520939; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WiD1mOyNiLZE+u/YGpzCwqSv6Xt9WDubgL55cLmmco8=; b=frzSB+vHVUdY/M9z1syLul1jCVbiO/DjC/6eYI3hlbnfKjf5fsjhMm0SVkJzG3vda1 hDXcKQ0kZvUtnDUYLmxtpZBxKi0ALZza2JGc6rs+CCBU2P5anT/vZYXST6iYpiN+ty4i 0sG8zWnmEQ4fOEb9zop0PFp07TAqKcyac6s/EZJBZCj4D/PmGnviVKDnHb66XZrhvOhR d3LsWPV9HSfVtpRrGWTtt6V2ncxwiL5KskqIknfSf5aILyKVFXWn3wklHTkG77YKRtZV 6KY4JxSLXIWdjrpNwyOK/fj4MLsWAggX6RQGp8UBFv6OPqkmSrNmtPkCWHmAvkQ47Lwo kJmw== X-Gm-Message-State: AOJu0YwOY1o5zNR8dSoRc8vvH4sHQvmJw280RHSZq4KA9TXbwE7n58C0 ycXOGDI1Ao186AweKCaQ/xao/X7Cxtw= X-Google-Smtp-Source: AGHT+IFYZ5wCQuj7zA5pXbqtUlKAV8fUy6fu97WZRl4C/Ev8eXpAOt4N9gJB5wR+du/MJmqDAQfg4Q== X-Received: by 2002:a05:6808:1382:b0:39c:59e2:dd79 with SMTP id c2-20020a056808138200b0039c59e2dd79mr1909446oiw.36.1695916139385; Thu, 28 Sep 2023 08:48:59 -0700 (PDT) Received: from ?IPV6:2601:681:5a00:f790:e111:6ff4:1cbe:fa4d? ([2601:681:5a00:f790:e111:6ff4:1cbe:fa4d]) by smtp.gmail.com with ESMTPSA id bu20-20020a632954000000b0057c29fec795sm12839587pgb.37.2023.09.28.08.48.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Sep 2023 08:48:58 -0700 (PDT) Message-ID: Date: Thu, 28 Sep 2023 09:48:57 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: Right version of jdbc Content-Language: en-CA To: pgsql-general@lists.postgresql.org References: From: Rob Sargent In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 9/28/23 09:41, Raivo Rebane wrote: > Now I changed the Postgres Server to version 15 and making Tomcat 9.0 > project. > Now I am using postgresql-42.6.0.jar driver, but Tomcat gives error : > java.sql.SQLException: No suitable driver found for > jdbc:postgresql://localhost:5432/mushroom_database > What driver I have to use for suitable driver. > Or must I downgrade my postgres version ? > Can you show the code you use to make the database connection?