Updated OSS edition

This commit is contained in:
Lukas Eder 2020-10-12 09:11:25 +02:00
parent 15799a7123
commit f695c41a0f
3 changed files with 11 additions and 8 deletions

View File

@ -80,13 +80,16 @@ public class DefaultEmbeddableDefinition
this.referencingComment = referencingComment;
this.referencingTable = referencingTable;
this.embeddableColumns = new ArrayList<>();
this.replacesFields = replacesFields;
if (replacesFields)
if (replacesFields) {
log.info("Commercial feature", "Embeddables replacing fields is a commercial only feature. Please upgrade to the jOOQ Professional Edition");
replacesFields = false;
}
this.replacesFields = replacesFields;
for (int i = 0; i < referencingColumns.size(); i++)
embeddableColumns.add(new DefaultEmbeddableColumnDefinition(this, definingColumnNames.get(i), referencingColumns.get(i), i + 1));

View File

@ -37,9 +37,6 @@
*/
package org.jooq;
import org.jetbrains.annotations.*;
// ...
// ...
// ...
@ -58,12 +55,15 @@ import static org.jooq.SQLDialect.MYSQL;
// ...
import static org.jooq.SQLDialect.POSTGRES;
// ...
// ...
import static org.jooq.SQLDialect.SQLITE;
// ...
// ...
// ...
// ...
import org.jetbrains.annotations.NotNull;
/**
* A step in the creation of a <code>LIKE</code> predicate to which an
* <code>ESCAPE</code> clause can be appended.

View File

@ -37,9 +37,6 @@
*/
package org.jooq;
import org.jetbrains.annotations.*;
// ...
// ...
// ...
@ -62,6 +59,7 @@ import static org.jooq.SQLDialect.MYSQL;
import static org.jooq.SQLDialect.POSTGRES;
// ...
// ...
// ...
import static org.jooq.SQLDialect.SQLITE;
// ...
// ...
@ -70,6 +68,8 @@ import static org.jooq.SQLDialect.SQLITE;
import org.jooq.impl.DSL;
import org.jetbrains.annotations.NotNull;
/**
* This type is used for the {@link Select}'s DSL API when selecting generic
* {@link Record} types.