/**
* The column <code>hx_cms.cms_document.id</code>.
*/
public final TableField<CmsDocumentRecord, Integer> İD = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaultValue(org.jooq.impl.DSL.field("nextval('cms_document_id_seq'::regclass)", org.jooq.impl.SQLDataType.INTEGER)), this, "");
/**
* The column <code>hx_cms.cms_document.name</code>.
*/
public final TableField<CmsDocumentRecord, String> NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column <code>hx_cms.cms_document.org_id</code>.
*/
public final TableField<CmsDocumentRecord, Integer> ORG_İD = createField("org_id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>hx_cms.cms_document.category_id</code>.
*/
public final TableField<CmsDocumentRecord, Integer> CATEGORY_İD = createField("category_id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
In Turkish language the corresponding UPPER CASE letter to the lower case " i " is the character " İ " as we also have a separate " ı - I " in our alphabet. This creates the problem you see above in the generated classes. I do not know how and when to fix this issue.
Here is how JOOQ generates the classes in to the project:
<plugin>
<groupId>org.jooq</groupId>
<artifactId>jooq-codegen-maven</artifactId>
<version>${jooq.version}</version>
<executions>
<execution>
<id>generate-postgresql</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<jdbc>
<driver>${spring.datasource.driverClassName}</driver>
<url>${spring.datasource.url}</url>
<user>${spring.datasource.username}</user>
<password>${spring.datasource.password}</password>
</jdbc>
<generator>
<database>
<name>org.jooq.meta.postgres.PostgresDatabase</name>
<includes>.*</includes>
<excludes></excludes>
<dateAsTimestamp>true</dateAsTimestamp>
<inputSchema>hx_cms</inputSchema>
</database>
<generate>
<deprecated>false</deprecated>
<instanceFields>true</instanceFields>
<pojos>true</pojos>
</generate>
<target>
<packageName>com.hx.db.postgresql</packageName>
<directory>target/generated-sources/jooq-postgresql</directory>
</target>
</generator>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgresql.version}</version>
</dependency>
</dependencies>
</plugin>
I am assuming some kind of configuration goes in here but I cannot find the answer.
Thank you.