Talks about: , and

The name of the SQL statement

Configuration Options

Option: ‘yourSpecialName’

In case you use the name option, YoSQL will use the supplied value as a method name

package com.example.persistence;

public class SomeRepository {

    public void yourSpecialName() {
        // ... some code

    // ... rest of generated code


Front Matter

In order to configure this option, place the following code in the front matter of your SQL statement:

-- name: configValue
SELECT  something
FROM    your_database_schema
WHERE   some_column = :some_value