@@ -50,7 +50,6 @@ public class QueryExpressionDSL<R>
50
50
private final List <BasicColumn > selectList ;
51
51
private QueryExpressionWhereBuilder whereBuilder ;
52
52
private GroupByModel groupByModel ;
53
- private final StatementConfiguration statementConfiguration = new StatementConfiguration ();
54
53
private QueryExpressionHavingBuilder havingBuilder ;
55
54
56
55
protected QueryExpressionDSL (FromGatherer <R > fromGatherer , TableExpression table ) {
@@ -75,7 +74,7 @@ public QueryExpressionWhereBuilder where() {
75
74
76
75
@ Override
77
76
public QueryExpressionDSL <R > configureStatement (Consumer <StatementConfiguration > consumer ) {
78
- consumer . accept ( statementConfiguration );
77
+ selectDSL . configureStatement ( consumer );
79
78
return this ;
80
79
}
81
80
@@ -276,7 +275,7 @@ public FromGatherer<R> build() {
276
275
public class QueryExpressionWhereBuilder extends AbstractWhereFinisher <QueryExpressionWhereBuilder >
277
276
implements Buildable <R > {
278
277
private QueryExpressionWhereBuilder () {
279
- super (statementConfiguration );
278
+ super (selectDSL . statementConfiguration );
280
279
}
281
280
282
281
public UnionBuilder union () {
@@ -394,7 +393,7 @@ public R build() {
394
393
395
394
@ Override
396
395
public JoinSpecificationFinisher configureStatement (Consumer <StatementConfiguration > consumer ) {
397
- consumer . accept ( statementConfiguration );
396
+ selectDSL . configureStatement ( consumer );
398
397
return this ;
399
398
}
400
399
0 commit comments