Skip to content

Commit 2eae8d0

Browse files
committed
Fix
1 parent c91ff60 commit 2eae8d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/me/zort/sqllib/mapping/DefaultStatementMapping.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public QueryResult executeQuery(Method method, Object[] args, @Nullable Class<?>
5353
throw new SQLMappingException("Connection is not a SQLDatabaseConnection!", method, args);
5454
}
5555

56-
QueryNode<?> node = wrappedAnnotation.getQueryBuilder().build(queryAnnotation, method, parameters);
56+
QueryNode<?> node = wrappedAnnotation.getQueryBuilder().build(connection, queryAnnotation, method, parameters);
5757
if (wrappedAnnotation.isProducesResult() && node instanceof QueryNodeRequest) {
5858
return mapTo != null
5959
? ((SQLDatabaseConnection) connection).query(node, mapTo)

0 commit comments

Comments
 (0)