org.postgresql.util.DriverInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdbc-yugabytedb Show documentation
Show all versions of jdbc-yugabytedb Show documentation
Java JDBC 4.2 (JRE 8+) driver for YugaByte SQL database
The newest version!
/*
* Copyright (c) 2017, PostgreSQL Global Development Group
* See the LICENSE file in the project root for more information.
*/
package org.postgresql.util;
/**
* Utility class with constants of Driver information.
*/
public final class DriverInfo {
private DriverInfo() {
}
// Driver name
public static final String DRIVER_NAME = "PostgreSQL JDBC Driver";
public static final String DRIVER_SHORT_NAME = "PgJDBC";
public static final String DRIVER_VERSION = "42.7.3-yb-1";
public static final String DRIVER_FULL_NAME = DRIVER_NAME + " " + DRIVER_VERSION;
// Driver version
public static final int MAJOR_VERSION = 42;
public static final int MINOR_VERSION = 7;
public static final int PATCH_VERSION = 3;
// JDBC specification
public static final String JDBC_VERSION = "4.2";
public static final int JDBC_MAJOR_VERSION = JDBC_VERSION.charAt(0) - '0';
public static final int JDBC_MINOR_VERSION = JDBC_VERSION.charAt(2) - '0';
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy