1818import java .util .Optional ;
1919
2020import org .jspecify .annotations .Nullable ;
21-
2221import org .springframework .data .domain .Sort ;
2322import org .springframework .data .jdbc .core .convert .JdbcConverter ;
2423import org .springframework .data .jdbc .core .convert .SqlGeneratorSource ;
@@ -80,8 +79,8 @@ public class JdbcQueryCreator extends RelationalQueryCreator<ParametrizedQuery>
8079 */
8180 @ Deprecated (since = "4.0" , forRemoval = true )
8281 JdbcQueryCreator (RelationalMappingContext context , PartTree tree , JdbcConverter converter , Dialect dialect ,
83- RelationalEntityMetadata <?> entityMetadata , RelationalParameterAccessor accessor , boolean isSliceQuery ,
84- ReturnedType returnedType , Optional <Lock > lockMode , boolean isScrollQuery ) {
82+ RelationalEntityMetadata <?> entityMetadata , RelationalParameterAccessor accessor , boolean isSliceQuery ,
83+ ReturnedType returnedType , Optional <Lock > lockMode , boolean isScrollQuery ) {
8584 this (context , tree , converter , dialect , entityMetadata , accessor , isSliceQuery , returnedType , lockMode ,
8685 new SqlGeneratorSource (context , converter , dialect ), isScrollQuery );
8786 }
@@ -98,7 +97,7 @@ public class JdbcQueryCreator extends RelationalQueryCreator<ParametrizedQuery>
9897 * @since 4.0
9998 */
10099 public JdbcQueryCreator (PartTree tree , JdbcConverter converter , Dialect dialect , JdbcQueryMethod queryMethod ,
101- RelationalParameterAccessor accessor , ReturnedType returnedType ) {
100+ RelationalParameterAccessor accessor , ReturnedType returnedType ) {
102101 this (converter .getMappingContext (), tree , converter , dialect , queryMethod .getEntityInformation (), accessor ,
103102 queryMethod .isSliceQuery (), returnedType , queryMethod .lookupLockAnnotation (),
104103 new SqlGeneratorSource (converter , dialect ), queryMethod .isScrollQuery ());
@@ -108,23 +107,24 @@ public JdbcQueryCreator(PartTree tree, JdbcConverter converter, Dialect dialect,
108107 * Creates new instance of this class with the given {@link PartTree}, {@link JdbcConverter}, {@link Dialect},
109108 * {@link RelationalEntityMetadata} and {@link RelationalParameterAccessor}.
110109 *
111- * @param context the mapping context. Must not be {@literal null}.
112- * @param tree part tree, must not be {@literal null}.
113- * @param converter must not be {@literal null}.
114- * @param dialect must not be {@literal null}.
115- * @param entityMetadata relational entity metadata, must not be {@literal null}.
116- * @param accessor parameter metadata provider, must not be {@literal null}.
117- * @param isSliceQuery flag denoting if the query returns a {@link org.springframework.data.domain.Slice}.
118- * @param returnedType the {@link ReturnedType} to be returned by the query. Must not be {@literal null}.
119- * @param lockMode lock mode to be used for the query.
110+ * @param context the mapping context. Must not be {@literal null}.
111+ * @param tree part tree, must not be {@literal null}.
112+ * @param converter must not be {@literal null}.
113+ * @param dialect must not be {@literal null}.
114+ * @param entityMetadata relational entity metadata, must not be {@literal null}.
115+ * @param accessor parameter metadata provider, must not be {@literal null}.
116+ * @param isSliceQuery flag denoting if the query returns a {@link org.springframework.data.domain.Slice}.
117+ * @param returnedType the {@link ReturnedType} to be returned by the query. Must not be {@literal null}.
118+ * @param lockMode lock mode to be used for the query.
120119 * @param sqlGeneratorSource the source providing SqlGenerator instances for generating SQL. Must not be
121- * {@literal null}
122- * @param isScrollQuery
120+ * {@literal null}
121+ * @param isScrollQuery flag denoting if the query returns a {@link org.springframework.data.domain.Window}.
123122 * @since 4.0
124123 */
125124 public JdbcQueryCreator (RelationalMappingContext context , PartTree tree , JdbcConverter converter , Dialect dialect ,
126- RelationalEntityMetadata <?> entityMetadata , RelationalParameterAccessor accessor , boolean isSliceQuery ,
127- ReturnedType returnedType , Optional <Lock > lockMode , SqlGeneratorSource sqlGeneratorSource , boolean isScrollQuery ) {
125+ RelationalEntityMetadata <?> entityMetadata , RelationalParameterAccessor accessor , boolean isSliceQuery ,
126+ ReturnedType returnedType , Optional <Lock > lockMode , SqlGeneratorSource sqlGeneratorSource ,
127+ boolean isScrollQuery ) {
128128 super (tree , accessor );
129129
130130 Assert .notNull (converter , "JdbcConverter must not be null" );
0 commit comments