resultRowConverter
The fully-qualified name of the converter class to use
Name the class and nothing else. YoSQL reads it to find the single public method that
takes a ResultSet; that method’s name is what the repository calls, and its return type
is what the statement produces. The converter is injected into a field named after the
class, with a lower-case first letter.
The class has to be visible under sourceDirectory , because it is read from source rather than loaded. Naming a class that is missing, that has no such method, or that has more than one, fails the build.
To have the converter written for you instead, name a record with resultRowType .
Related Options
Also in this group: annotations , catchAndRethrow , createConnection , description , executeBatch , executeOnce , generateConnectionOverloads , generateResultRowType , injectConverter , name , parameters , repository , resultRowColumns , resultRowType , returningMode , throwOnMultipleResults , type , validateSchema , vendor , writesReturnUpdateCount .
Front Matter
In order to configure this option, place the following code in the front matter of your SQL statement:
-- resultRowConverter: configValue
SELECT something
FROM your_database_schema
WHERE some_column = :some_value