I have this DDL
CREATE TABLE user
(
id bigint NOT NULL PRIMARY KEY,
name string NOT NULL
);
org.jooq.codegen.KotlinGenerator generates such a class:
data class Users(
var id: Long? = null,
var name: String? = null,
): Serializable
I expect non-nullable fields to be non-nullable, like:
data class Users(
var id: Long,
var name: String,
): Serializable
I only use these settings:
generate.apply {
isRecords = true
isDaos = true
isPojosAsKotlinDataClasses = true
isSpringAnnotations = true
isPojos = true
}
Jooq ver. 3.15.10
How do I configure the generator so that the fields are non-nullable?