From 5cd55d732c085f2b4aec3e72425b195ecf9b46f2 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Sat, 27 Apr 2013 09:06:21 +0200 Subject: [PATCH] [#2415] Add Constants.MINOR_VERSION and Constants.FULL_VERSION for internal and external reuse --- jOOQ/src/main/java/org/jooq/Constants.java | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/jOOQ/src/main/java/org/jooq/Constants.java b/jOOQ/src/main/java/org/jooq/Constants.java index 97898d4cfe..ba5e695b2a 100644 --- a/jOOQ/src/main/java/org/jooq/Constants.java +++ b/jOOQ/src/main/java/org/jooq/Constants.java @@ -43,14 +43,30 @@ package org.jooq; public final class Constants { /** - * The latest jOOQ version + * The latest jOOQ minor version. */ - public static final String VERSION = "3.0.0"; + public static final String MINOR_VERSION = "3.0"; + + /** + * The latest jOOQ version. + *

+ * This is the same as {@link #MINOR_VERSION}, but it may include patch + * version suffixes. + */ + public static final String VERSION = "3.0.0"; + + /** + * The latest jOOQ full version. + *

+ * This is the same as {@link #VERSION}, but it may include release + * candidate and other suffixes. + */ + public static final String FULL_VERSION = "3.0.0-RC3"; /** * The maximum degree of {@link Row} and {@link Record} subtypes */ - public static final int MAX_ROW_DEGREE = 22; + public static final int MAX_ROW_DEGREE = 22; /** * No further instances