This commit is contained in:
@@ -165,6 +165,9 @@ public abstract class Query<T>
|
|||||||
|
|
||||||
PreparedStatement pstmt = conn.prepareStatement(query.toString());
|
PreparedStatement pstmt = conn.prepareStatement(query.toString());
|
||||||
int argIdx = 1;
|
int argIdx = 1;
|
||||||
|
for (Join clause : _joinClauses) {
|
||||||
|
argIdx = clause.bindArguments(pstmt, argIdx);
|
||||||
|
}
|
||||||
if (_where != null) {
|
if (_where != null) {
|
||||||
argIdx = _where.bindArguments(pstmt, argIdx);
|
argIdx = _where.bindArguments(pstmt, argIdx);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user