Mercurial > hg > monetdb-java
view src/main/java/org/monetdb/jdbc/MonetVersion.java.in @ 967:5cc071c5c170
Corrected the returned integer values of Statement methods executeUpdate(...), executeLargeUpdate(...), getUpdateCount() and getLargeUpdateCount() and PreparedStatement methods executeUpdate() and executeLargeUpdate(). They returned -2 for DDL statements, which was not in compliance with the JDBC API documentation.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 13 Feb 2025 21:16:20 +0100 (2 months ago) |
parents | 203c4cc8d94d |
children |
line wrap: on
line source
/* * SPDX-License-Identifier: MPL-2.0 * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Copyright 2024, 2025 MonetDB Foundation; * Copyright August 2008 - 2023 MonetDB B.V.; * Copyright 1997 - July 2008 CWI. */ package org.monetdb.jdbc; final class MonetVersion { /** * Major version of MonetDB JDBC driver. */ public static int majorVersion = @JDBC_MAJOR@; /** * Minor version of MonetDB JDBC driver. */ public static int minorVersion = @JDBC_MINOR@; /** * Full version string of MonetDB JDBC driver. */ public static String driverVersion = "@JDBC_MAJOR@.@JDBC_MINOR@"; }