We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da15d80 commit ebf863cCopy full SHA for ebf863c
src/main/java/org/springframework/data/r2dbc/function/DefaultStatementFactory.java
@@ -480,7 +480,12 @@ public Statement bind(Connection connection) {
480
// logger.debug("Executing SQL statement [" + sql + "]");
481
// }
482
483
- return bind(connection.createStatement(toQuery()));
+ Statement statement = connection.createStatement(toQuery());
484
+
485
+ // TODO there is too much binding going on.
486
+ // this looks silly and is by no means easy to understand (i.e. I don't)
487
+ binding.apply(statement);
488
+ return bind(statement);
489
}
490
491
0 commit comments