recordConverterPrefix
The prefix of the class name of converters built from a record.
A converter generated for a record is named <prefix><record><suffix> and lives in the package
of the mapConverterClass
. The field a repository injects it into takes
the same name with a lower-case first letter, so changing either affix changes both.
Configuration Options
Option: ‘To’
The default value of the recordConverterPrefix configuration option is To, which names the converter for a User record ToUserConverter.
Option: ''
Clearing the recordConverterPrefix configuration option and setting recordConverterSuffix to RowMapper names it UserRowMapper.
Related Options
Also in this group: defaultConverter , generateMapConverter , mapConverterAlias , mapConverterClass , mapConverterMethod , recordConverterMethod , recordConverterSuffix .
Tooling
Ant
In order to use YoSQL together with Ant
, take a look at the tooling documentation for Ant
.
Bazel
In order to use YoSQL together with Bazel
, take a look at the tooling documentation for Bazel
.
CLI
In order to use YoSQL on the command line, take a look at the tooling documentation for CLI
.
yosql generate --converter-record-converter-prefix=configValue
Gradle
In order to use YoSQL together with Gradle
, take a look at the tooling documentation for Gradle
. The recordConverterPrefix setting can be configured using Gradle in Kotlin syntax like this:
plugins {
java
id("wtf.metio.yosql") version "2026.8.8"
}
yosql {
converter {
recordConverterPrefix.set(configValue)
}
}
or in Groovy syntax like this:
plugins {
id "java"
id "wtf.metio.yosql" version "2026.8.8"
}
yosql {
converter {
recordConverterPrefix = configValue
}
}
Maven
In order to use YoSQL together with Maven
, take a look at the tooling documentation for Maven
. The recordConverterPrefix setting can be configured using Maven like this:
<build>
<plugins>
<plugin>
<groupId>wtf.metio.yosql.tooling</groupId>
<artifactId>yosql-tooling-maven</artifactId>
<version>2026.8.8</version>
<configuration>
<converter>
<recordConverterPrefix>configValue</recordConverterPrefix>
</converter>
</configuration>
</plugin>
</plugins>
</build>