Release 3.20.8
This commit is contained in:
parent
8a357b0970
commit
4474ad4d43
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-beans-extensions</artifactId>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-bom</artifactId>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-checker</artifactId>
|
||||
|
||||
@ -17,7 +17,7 @@ repositories {
|
||||
}
|
||||
|
||||
group = "org.jooq"
|
||||
version = "3.20.8-SNAPSHOT"
|
||||
version = "3.20.8"
|
||||
|
||||
dependencies {
|
||||
implementation(gradleApi())
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-codegen-maven</artifactId>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-codegen</artifactId>
|
||||
|
||||
@ -61,7 +61,7 @@ public final class Constants {
|
||||
* This is the same as {@link #MINOR_VERSION}, but it may include patch
|
||||
* version suffixes.
|
||||
*/
|
||||
public static final String VERSION = "3.20.8-SNAPSHOT";
|
||||
public static final String VERSION = "3.20.8";
|
||||
|
||||
/**
|
||||
* The latest jOOQ full version.
|
||||
@ -69,7 +69,7 @@ public final class Constants {
|
||||
* This is the same as {@link #VERSION}, but it may include release
|
||||
* candidate and other suffixes.
|
||||
*/
|
||||
public static final String FULL_VERSION = "3.20.8-SNAPSHOT";
|
||||
public static final String FULL_VERSION = "3.20.8";
|
||||
|
||||
/**
|
||||
* The build date of this version.
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-jackson-extensions</artifactId>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-jpa-extensions</artifactId>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-kotlin-coroutines</artifactId>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-kotlin</artifactId>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-meta-extensions-hibernate</artifactId>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-meta-extensions-liquibase</artifactId>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-meta-extensions</artifactId>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-meta-kotlin</artifactId>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-meta</artifactId>
|
||||
|
||||
@ -61,7 +61,7 @@ public final class Constants {
|
||||
* This is the same as {@link #MINOR_VERSION}, but it may include patch
|
||||
* version suffixes.
|
||||
*/
|
||||
public static final String VERSION = "3.20.8-SNAPSHOT";
|
||||
public static final String VERSION = "3.20.8";
|
||||
|
||||
/**
|
||||
* The latest jOOQ full version.
|
||||
@ -69,7 +69,7 @@ public final class Constants {
|
||||
* This is the same as {@link #VERSION}, but it may include release
|
||||
* candidate and other suffixes.
|
||||
*/
|
||||
public static final String FULL_VERSION = "3.20.8-SNAPSHOT";
|
||||
public static final String FULL_VERSION = "3.20.8";
|
||||
|
||||
/**
|
||||
* The build date of this version.
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-migrations-maven</artifactId>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-migrations</artifactId>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-postgres-extensions</artifactId>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-reactor-extensions</artifactId>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-scala_3.5</artifactId>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq-xtend</artifactId>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq-parent</artifactId>
|
||||
<version>3.20.8-SNAPSHOT</version>
|
||||
<version>3.20.8</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>jooq</artifactId>
|
||||
|
||||
@ -61,7 +61,7 @@ public final class Constants {
|
||||
* This is the same as {@link #MINOR_VERSION}, but it may include patch
|
||||
* version suffixes.
|
||||
*/
|
||||
public static final String VERSION = "3.20.8-SNAPSHOT";
|
||||
public static final String VERSION = "3.20.8";
|
||||
|
||||
/**
|
||||
* The latest jOOQ full version.
|
||||
@ -69,7 +69,7 @@ public final class Constants {
|
||||
* This is the same as {@link #VERSION}, but it may include release
|
||||
* candidate and other suffixes.
|
||||
*/
|
||||
public static final String FULL_VERSION = "3.20.8-SNAPSHOT";
|
||||
public static final String FULL_VERSION = "3.20.8";
|
||||
|
||||
/**
|
||||
* The build date of this version.
|
||||
|
||||
@ -110,6 +110,7 @@ import java.util.Iterator;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
import java.util.Set;
|
||||
import java.util.function.Consumer;
|
||||
import java.util.function.Function;
|
||||
@ -151,9 +152,11 @@ import org.jooq.exception.DataAccessException;
|
||||
import org.jooq.exception.DataDefinitionException;
|
||||
import org.jooq.exception.DataTypeException;
|
||||
import org.jooq.exception.SQLDialectNotSupportedException;
|
||||
import org.jooq.impl.QOM.ForeignKeyRule;
|
||||
import org.jooq.impl.QOM.GenerationOption;
|
||||
import org.jooq.tools.JooqLogger;
|
||||
import org.jooq.tools.StringUtils;
|
||||
import org.jooq.tools.jdbc.JDBCUtils;
|
||||
|
||||
/**
|
||||
* An implementation of the public {@link Meta} type.
|
||||
@ -1460,8 +1463,8 @@ final class MetaImpl extends AbstractMeta {
|
||||
new MetaUniqueKey(pkTable, pkName, pkFields, true), // TODO: Can we know whether it is a PK or UK?
|
||||
pkFields,
|
||||
true,
|
||||
foreignKeyRule(k.get(4, int.class)),
|
||||
foreignKeyRule(k.get(3, int.class))
|
||||
foreignKeyRule(k.get(4, Integer.class)),
|
||||
foreignKeyRule(k.get(3, Integer.class))
|
||||
));
|
||||
}
|
||||
}
|
||||
@ -1470,6 +1473,10 @@ final class MetaImpl extends AbstractMeta {
|
||||
return references;
|
||||
}
|
||||
|
||||
private final ForeignKeyRule foreignKeyRule(Integer code) {
|
||||
return code == null ? null : JDBCUtils.foreignKeyRule(code);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private final TableField<Record, ?> lookup(Table<?> table, String fieldName) {
|
||||
for (Field<?> field : table.fields())
|
||||
@ -1899,8 +1906,8 @@ final class MetaImpl extends AbstractMeta {
|
||||
this,
|
||||
map(v, f -> (TableField<Record, ?>) getTable().field(f.get(3, String.class)), TableField[]::new),
|
||||
true,
|
||||
foreignKeyRule(k.get(4, int.class)),
|
||||
foreignKeyRule(k.get(3, int.class))
|
||||
foreignKeyRule(k.get(4, Integer.class)),
|
||||
foreignKeyRule(k.get(3, Integer.class))
|
||||
));
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user