mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#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:
@@ -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).
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user