Skip to content

Commit ebf863c

Browse files
committed
#57 - hacking - disassembling.
1 parent da15d80 commit ebf863c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main/java/org/springframework/data/r2dbc/function/DefaultStatementFactory.java

+6-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,12 @@ public Statement bind(Connection connection) {
480480
// logger.debug("Executing SQL statement [" + sql + "]");
481481
// }
482482

483-
return bind(connection.createStatement(toQuery()));
483+
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);
484489
}
485490
}
486491
}

0 commit comments

Comments
 (0)