#900 - Error - Can't fetch JsonDB field - org.postgresql.util.PSQLException: ERROR: could not identify an equality operator for type json

This commit is contained in:
Rob Bygrave
2016-12-20 02:59:47 +13:00
parent 2eb0c12213
commit 84e1e12b66
23 changed files with 339 additions and 102 deletions
@@ -25,6 +25,18 @@ final class SqlTreeNodeRoot extends SqlTreeNodeBean {
this.includeJoin = includeJoin;
}
/**
* Append the property columns to the buffer.
*/
public void appendDistinctOn(DbSqlContext ctx, boolean subQuery) {
if (readId) {
ctx.pushTableAlias(prefix);
appendSelectId(ctx, idBinder.getBeanProperty());
ctx.popTableAlias();
super.appendDistinctOn(ctx, subQuery);
}
}
/**
* Set AsOf support (at root level).
*/