throwOnMultipleResultsForSingle

Talks about: , and

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:

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