#3375 Followup, Temporarily add back setRoot() method to allow time for IntelliJ plugin to be released

Adding this means that it will work with an old ebean-agent. It takes a few days to get a new IntelliJ plugin released and we can't wait due to wanting to release the bug fix for #3381
This commit is contained in:
Rob Bygrave
2024-04-04 21:53:18 +13:00
parent f556e04f58
commit 7469a38bbc
@@ -142,6 +142,13 @@ public abstract class TQRootBean<T, R> implements QueryBean<T, R> {
whereStack.push(filter);
}
/**
* The enhancement will no longer use this method. Will be removed once the new IntelliJ plugin is released.
*/
protected void setRoot(R root) {
// do nothing, remove this method shortly.
}
@Override
public FetchGroup<T> buildFetchGroup() {
return ((SpiFetchGroupQuery<T>) query()).buildFetchGroup();