You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplified use of queryMethod in the different JdbcQuery classes.
Improved method names.
Added author tags.
Code formatting.
Corrected HTML in JavaDoc.
Originial pull request #1423
* Obtain the result type to read from {@link ResultProcessor}.
125
143
*
126
-
* @param resultProcessor the {@link ResultProcessor} used to determine the result type. Must not be {@literal null}.
127
-
* @return the type that should get loaded from the database before it gets converted into the actual return type of a method. Guaranteed to be not {@literal null}.
144
+
* @param resultProcessor the {@link ResultProcessor} used to determine the result type. Must not be {@literal null}.
145
+
* @return the type that should get loaded from the database before it gets converted into the actual return type of a
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 when on Java 8+ use the javac flag -parameters";
69
-
70
-
privatefinalJdbcQueryMethodqueryMethod;
71
70
privatefinalJdbcConverterconverter;
72
71
privatefinalRowMapperFactoryrowMapperFactory;
73
72
privateBeanFactorybeanFactory;
@@ -104,7 +103,6 @@ public StringBasedJdbcQuery(JdbcQueryMethod queryMethod, NamedParameterJdbcOpera
104
103
105
104
Assert.notNull(rowMapperFactory, "RowMapperFactory must not be null");
0 commit comments