Talks about: <a class="post-tag post-tag-frontmatter" href="/tags/frontmatter">frontmatter</a>, and <a class="post-tag post-tag-sql" href="/tags/sql">sql</a>

Throw an exception in case a statement using ReturningMode.SINGLE produces more than 1 result.

Configuration Options

Front Matter

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

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