Closed Trellian closed 8 years ago
I fixed it as follows:
@@ -245,11 +245,12 @@ public class ClauseHelper {
for (Join join : joins) {
SQLQuery sqlQuery = resolver.getSQLQuery(join.getTable());
String tableName = sqlQuery.getTableName();
- stringBuilder.append(getJoinType(join))
+ stringBuilder.append(" ")
+ .append(getJoinType(join))
.append(" ")
.append(tableName)
.append(" ")
.append(getClause(join.getClauses()));
could you make a pull request for this mate?
Cheers, Sam
Fixed by @Trellian
Hi Sam,
I'm getting an error on trying to execute a query with some nested joins. An SQLite exception is thrown as follows:
The query code is:
It looks like a simple case of the INNER clause just not getting some whitespace in front of it. Can you help here?
Thanks, Adrian