Query methods that are not derived methods now cause an exception, when they are annotated with `@Lock`, since this combination is not supported.
Before they just logged a warning.
Comment edited by Jens Schauder
Signed-off-by: mipo256 <mikhailpolivakha@gmail.com>
privatestaticfinalStringPARAMETER_NEEDS_TO_BE_NAMED="For queries with named parameters you need to provide names for method parameters; Use @Param for query method parameters, or use the javac flag -parameters";
privatefinalstaticStringLOCKING_IS_NOT_SUPPORTED="Currently, @Lock is supported only on derived queries. In other words, for queries created with @Query, the locking condition specified with @Lock does nothing";
privatefinalstaticStringLOCKING_IS_NOT_SUPPORTED="Currently, @Lock is supported only on derived queries. In other words, for queries created with @Query, the locking condition specified with @Lock does nothing. Offending method: ";
@ -149,7 +146,7 @@ public class StringBasedJdbcQuery extends AbstractJdbcQuery {
@@ -149,7 +146,7 @@ public class StringBasedJdbcQuery extends AbstractJdbcQuery {