Open
Description
Hi,
I am using blazebit 1.6.14.
As reported in "Q&A" [(https://github.com//discussions/2005)] it looks like SubqueryBuilder.end() does not work, because "the subqueryStartMarker in SelectObjectBuilderImpl is never reset to null in com.blazebit.persistence.impl.builder.object.SelectObjectBuilderImpl#onBuilderEnded(com.blazebit.persistence.impl.SubqueryInternalBuilder<com.blazebit.persistence.SelectObjectBuilder>)", as said by beikov.
I found that the only place where subqueryStartMarker is initialized in SelectObjectBuilderImpl is here
public <X> SubqueryInitiator<X> startSubqueryInitiator(SubqueryInitiator<X> subqueryInitiator) {
this.subqueryStartMarker = subqueryInitiator;
return subqueryInitiator;
}
I got a workaround using CriteriaBuilder.selectSubquery().
thanks,
Francesco
Metadata
Metadata
Assignees
Labels
No labels