18
18
import java .util .Optional ;
19
19
20
20
import org .jspecify .annotations .Nullable ;
21
-
22
21
import org .springframework .data .domain .Sort ;
23
22
import org .springframework .data .jdbc .core .convert .JdbcConverter ;
24
23
import org .springframework .data .jdbc .core .convert .SqlGeneratorSource ;
@@ -80,8 +79,8 @@ public class JdbcQueryCreator extends RelationalQueryCreator<ParametrizedQuery>
80
79
*/
81
80
@ Deprecated (since = "4.0" , forRemoval = true )
82
81
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 ) {
85
84
this (context , tree , converter , dialect , entityMetadata , accessor , isSliceQuery , returnedType , lockMode ,
86
85
new SqlGeneratorSource (context , converter , dialect ), isScrollQuery );
87
86
}
@@ -98,7 +97,7 @@ public class JdbcQueryCreator extends RelationalQueryCreator<ParametrizedQuery>
98
97
* @since 4.0
99
98
*/
100
99
public JdbcQueryCreator (PartTree tree , JdbcConverter converter , Dialect dialect , JdbcQueryMethod queryMethod ,
101
- RelationalParameterAccessor accessor , ReturnedType returnedType ) {
100
+ RelationalParameterAccessor accessor , ReturnedType returnedType ) {
102
101
this (converter .getMappingContext (), tree , converter , dialect , queryMethod .getEntityInformation (), accessor ,
103
102
queryMethod .isSliceQuery (), returnedType , queryMethod .lookupLockAnnotation (),
104
103
new SqlGeneratorSource (converter , dialect ), queryMethod .isScrollQuery ());
@@ -108,23 +107,24 @@ public JdbcQueryCreator(PartTree tree, JdbcConverter converter, Dialect dialect,
108
107
* Creates new instance of this class with the given {@link PartTree}, {@link JdbcConverter}, {@link Dialect},
109
108
* {@link RelationalEntityMetadata} and {@link RelationalParameterAccessor}.
110
109
*
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.
120
119
* @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}.
123
122
* @since 4.0
124
123
*/
125
124
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 ) {
128
128
super (tree , accessor );
129
129
130
130
Assert .notNull (converter , "JdbcConverter must not be null" );
0 commit comments