Skip to content

Commit 0cd759e

Browse files
authored
Use dmlWithSchema also for on statement in merge-using-query, remove extra line change (#393)
1 parent 14449a0 commit 0cd759e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

querydsl-libraries/querydsl-sql/src/main/java/com/querydsl/sql/SQLSerializer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,9 +597,10 @@ public void serializeForMergeUsing(
597597
handle(usingExpression);
598598
dmlWithSchema = originalDmlWithSchema;
599599

600-
append("\n");
601600
append(templates.getOn());
601+
dmlWithSchema = true;
602602
handle(usingOn);
603+
dmlWithSchema = originalDmlWithSchema;
603604

604605
for (final SQLMergeUsingCase when : whens) {
605606
append("\nwhen ");

0 commit comments

Comments
 (0)